[Idle-dev] [ idlefork-Patches-844675 ] Enable pdb.pm() after unhandled exception

SourceForge.net noreply at sourceforge.net
Tue Nov 18 15:35:03 EST 2003


Patches item #844675, was opened at 2003-11-18 22:35
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=309579&aid=844675&group_id=9579

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Noam Raphael (noamr)
Assigned to: Nobody/Anonymous (nobody)
Summary: Enable pdb.pm() after unhandled exception

Initial Comment:
Currently, pdb.pm() doesn't work after an exception was
raised, since it is actually handled.

The following line should be added to run.py after the
line            
self.usr_exc_info = sys.exc_info() (line 248):

sys.last_type, sys.last_value, sys.last_traceback =
self.usr_exc_info

This emulated the normal behaviour of an unhandled
exception, and gives pdb.pm() the information it needs
in order to work.



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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=309579&aid=844675&group_id=9579



More information about the IDLE-dev mailing list