Break on exception in pydev
Solution 1:
This was added by the PyDev author, under Run > Manage Python Exception Breakpoints
Solution 2:
On any exception?
If my memory serves me right, in PyDev (in Eclipse) this is possible.
EDIT: went through it again, checked pdb documentation, can't find a way to set an exception breakpoint.
If I may suggest a really crude workaround, but if you must, you can call your program from within a try-except
block, set a breakpoint there, and once it breaks in the except
block just go up the stack and debug your error.
Another edit This functionality has been added to PyDev