Re: feature proposal, debug on exception

2008-05-21 Thread Ville M. Vainio
Simon Forman [EMAIL PROTECTED] writes: This is not exactly an answer to your proposal, I know, but FWIW Ipython has exactly this capability. Yes. When you %run a scripts and get exception, you can launch post-mortem pdb on it by typing %debug. --

feature proposal, debug on exception

2008-05-20 Thread Paul Rubin
There's an occasional question here about how to get python to launch pdb on encountering an uncaught exception. The answer is to look in some ASPN recipe and do some weird magic. I guess that works, but it's another thing to remember or keep looking up when the occasion arises (some program

Re: feature proposal, debug on exception

2008-05-20 Thread Simon Forman
On May 20, 5:59 pm, Paul Rubin http://[EMAIL PROTECTED] wrote: There's an occasional question here about how to get python to launch pdb on encountering an uncaught exception. The answer is to look in some ASPN recipe and do some weird magic. I guess that works, but it's another thing to

Re: feature proposal, debug on exception

2008-05-20 Thread alex23
On May 21, 10:59 am, Paul Rubin http://[EMAIL PROTECTED] wrote: I'd like to propose that debug-on-exception be made into a standard feature that is easy to enable, e.g. with a command line option or with a simple pdb call immediately after the import: Forgive me if I've missed your point, but