[Pydev-users] [Users] RE: Breaking pydev debuggr on uncaught exceptions
Brought to you by:
fabioz
|
From: SourceForge.net <no...@so...> - 2011-04-22 23:25:35
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4494909: It's possible, but it's currently not in the UI (although that's already planned). To enable it, do in your code (note that pydevd will always be there when you debug, so, it doesn't really need to be in your pythonpath): import pydevd; pydevd.set_pm_excepthook(exceptions) where exceptions is a tuple of exceptions to be handled (if not passed, any uncaught exception will be gotten). Cheers, Fabio |