This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Cannot step in debugger if line # doesn't change
Type: Stage:
Components: Interpreter Core Versions: Python 2.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: jpe, nbastin
Priority: normal Keywords:

Created on 2003-07-03 21:42 by jpe, last changed 2022-04-10 16:09 by admin. This issue is now closed.

Messages (2)
msg16858 - (view) Author: John Ehresman (jpe) * Date: 2003-07-03 21:42
The debugger trace function is not called with a line
event if the line number executed doesn't change.  This
happens when an infinite looop containing a single line
is executed, such as:

while 1:
     print 1

A slightly more realistic example would be something
like the following:

        items = range(0, 10)
        try:
                i = 0
                while 1:
                        print items[i]; i += 1
        except IndexError:
                pass
msg16859 - (view) Author: Nick Bastin (nbastin) * (Python committer) Date: 2004-03-22 19:35
Logged In: YES 
user_id=430343

Fixed in:

ceval.c 2.386
test_trace.py 1.12
History
Date User Action Args
2022-04-10 16:09:42adminsetgithub: 38788
2003-07-03 21:42:40jpecreate