eric ide


Title: Breakpoint problem
Type: behavior Product: eric6
Priority: high    
Status: closed Resolution: works for me
Superseder: Nosy List: detlev, termim
Assigned to: Keywords:

Created on 2021-08-06.18:21:55 by termim, last changed by detlev.

File Name Uploaded Description Remove termim, 2021-08-06.18:21:55
Messages (6.0)
msg1537 (view) Author: detlev Date: 2021-08-24.16:05:59
Implemented some code to either move a breakpoint to the next line producing some byte code 
or give a warning (configurable).

Implemented with changeset 24daea9ad41b.
msg1533 (view) Author: termim Date: 2021-08-23.16:40:55
Would it be possible to somehow detect such situations and warn user that breakpoint is not possible at this line?
msg1529 (view) Author: detlev Date: 2021-08-16.12:40:44
Inspecting the generated code for Python 3.9 with the Disassembly Viewer shows, that line 6 
of the test script does not generate any code. This causes a breakpoint on this line to be 
'inactive' because the Python interpreter never ever reaches any code associated with this 
msg1525 (view) Author: termim Date: 2021-08-07.17:43:01
I've just tested again - it works with python 3.6 and 3.7 but does not work
with 3.8 and 3.9.
msg1518 (view) Author: detlev Date: 2021-08-07.15:28:10
Works for me. Just tested it on Debian 10 with Python 3.7.3 on my Chromebook. 
There was a similar report (issue400), which solved itself after upgrading eric.
msg1514 (view) Author: termim Date: 2021-08-06.18:21:55
Breakpoints do not work when set on 'while True' statement.
The attached program demonstrates the problem (see comments).
Date User Action Args
2021-08-24 16:05:59detlevsetmessage_count: 5.0 -> 6.0
messages: + msg1537
2021-08-23 16:40:55termimsetmessage_count: 4.0 -> 5.0
messages: + msg1533
2021-08-16 12:40:44detlevsetmessage_count: 3.0 -> 4.0
messages: + msg1529
resolution: works for me
status: new -> closed
2021-08-07 17:43:01termimsetmessage_count: 2.0 -> 3.0
messages: + msg1525
2021-08-07 15:28:10detlevsetmessage_count: 1.0 -> 2.0
messages: + msg1518
nosy: + detlev
2021-08-06 18:21:55termimcreate