[ python-Bugs-765624 ] Cannot step in debugger if line # doesn't
change
SourceForge.net
noreply at sourceforge.net
Mon Mar 22 14:35:54 EST 2004
Bugs item #765624, was opened at 2003-07-03 17:42
Message generated for change (Comment added) made by mondragon
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: Closed
>Resolution: Fixed
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
----------------------------------------------------------------------
>Comment By: Nick Bastin (mondragon)
Date: 2004-03-22 14:35
Message:
Logged In: YES
user_id=430343
Fixed in:
ceval.c 2.386
test_trace.py 1.12
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=765624&group_id=5470
More information about the Python-bugs-list
mailing list