From: SourceForge.net <no...@so...> - 2006-05-29 23:55:40
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3755579 By: fabioz Pydev currently does no exception-handling, however, you can add your own if you want to do so by changing the sys.__excepthook__ E.g.: def myHook(*args, **kwargs): sys._original_excepthook(*args, **kwargs) sys._original_excepthook = sys.__excepthook__ sys.__excepthook__ = myHook And then you can put a breakpoint in the 'sys._original_excepthook(*args, **kwargs)' line, so that whenever you have an unhandled exception it will stop there. An implementation of exception-handling in the debugger is planned, but it is still not implemented, so, you can add your own in this way. -- Fabio ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |