[Python-bugs-list] [ python-Bugs-765624 ] Cannot step in debugger if line # doesn't change

SourceForge.net noreply@sourceforge.net
Thu, 03 Jul 2003 14:42:41 -0700


Bugs item #765624, was opened at 2003-07-03 21:42
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=765624&group_id=5470

Category: Python Interpreter Core
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: John Ehresman (jpe)
Assigned to: Nobody/Anonymous (nobody)
Summary: Cannot step in debugger if line # doesn't change

Initial Comment:
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


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=765624&group_id=5470