Is it possible to make the pydev debugger break on uncaught exceptions? How? If i goto window->preferences->java->debug i see an option to suspend execution on uncaught exceptions, but there is no such option under window->preferences->pydev->debug.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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):
Is it possible to make the pydev debugger break on uncaught exceptions? How? If i goto window->preferences->java->debug i see an option to suspend execution on uncaught exceptions, but there is no such option under window->preferences->pydev->debug.
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