[ python-Bugs-1592241 ] Stepping into a generator throw does not work
SourceForge.net
noreply at sourceforge.net
Wed Nov 15 22:15:24 CET 2006
Bugs item #1592241, was opened at 2006-11-07 12:05
Message generated for change (Comment added) made by bwmulder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1592241&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Bernhard Mulder (bwmulder)
Assigned to: Nobody/Anonymous (nobody)
Summary: Stepping into a generator throw does not work
Initial Comment:
Python version: 2.6
Platform: Windows XP
Stepping into a throw of an iterator with the debugger
does not work.
To reproduce:
1. Run the attached script
2. type 's' for single step once you see the debugger
prompt.
I am getting this backtrace:
File "C:\bwm\Cruiser\play\microthreads\post.py", line
24, in <module>
it.throw(E, E())
File "C:\bwm\Cruiser\play\microthreads\post.py", line
7, in f1
(yield (2,(self.f2,(exc_class,))))
File "C:\Python25\lib\bdb.py", line 50, in trace_dispatch
return self.dispatch_call(frame, arg)
File "C:\Python25\lib\bdb.py", line 79, in dispatch_call
self.user_call(frame, arg)
File "C:\Python25\lib\pdb.py", line 134, in user_call
self.interaction(frame, None)
File "C:\Python25\lib\pdb.py", line 185, in interaction
self.setup(frame, traceback)
File "C:\Python25\lib\pdb.py", line 109, in setup
self.stack, self.curindex = self.get_stack(f, t)
File "C:\Python25\lib\bdb.py", line 318, in get_stack
i = max(0, len(stack) - 1)
----------------------------------------------------------------------
>Comment By: Bernhard Mulder (bwmulder)
Date: 2006-11-15 13:15
Message:
Logged In: YES
user_id=580676
Originator: YES
I got the Python version wrong above. The problem has been observed with
Python 2.5, not 2.6 (don't know about other Python versions).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1592241&group_id=5470
More information about the Python-bugs-list
mailing list