eric ide

Issue379

Classification
Title: Breakpoint freezes KDE environment
Type: behavior Product: eric6
Process
Priority: normal    
Status: closed Resolution: cannot fix
Superseder: Nosy List: detlev, termim
Assigned to: Keywords:

Created on 2021-03-01.18:44:57 by termim, last changed by detlev.

Files
File Name Uploaded Description Remove
cb.py termim, 2021-03-01.18:44:57
Messages (3.0)
msg1439 (view) Author: detlev Date: 2021-03-14.14:58:38
Did following tests:
1. On Windows 10: works as expected. No display freeze.
2. On Gnome, X11: display freeze
3. On Gnome, Wayland: application freeze
4. On Kubuntu, X11 with VS Code (Electron App): display freeze

All this leads to the assumption, that it is a problem of the various display managers or 
the way Qt interacts with them.
msg1420 (view) Author: detlev Date: 2021-03-01.19:22:30
Same happens when you set a breakpoint in a method showing a menu. KDE grabs input focus 
and does not release it, but the program is stopped due to the breakpoint. We hit a 
deadlock situation. Unfortunately I haven't found a way to prevent this. Any help is highly 
appreciated.
msg1419 (view) Author: termim Date: 2021-03-01.18:44:57
If breakpoint is hit during pop-up display all KDE environment freezes and the only way out is to switch to console somehow and kill debugger process.
In the file attached try to put breakpoint on the line with print statement, run under debugger and try to expand combobox and select some item.
History
Date User Action Args
2021-03-14 14:58:38detlevsetmessage_count: 2.0 -> 3.0
messages: + msg1439
2021-03-14 14:58:24detlevsetmessage_count: 3.0 -> 2.0
messages: - msg1438
2021-03-14 14:58:08detlevsetstatus: open -> closed
resolution: cannot fix
messages: + msg1438
message_count: 2.0 -> 3.0
2021-03-01 19:22:30detlevsetstatus: new -> open
nosy: + detlev
messages: + msg1420
message_count: 1.0 -> 2.0
2021-03-01 18:44:57termimcreate