Bugs item #1592241, was opened at 2006-11-07 12:05
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=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)

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1592241&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to