-
-
Notifications
You must be signed in to change notification settings - Fork 650
Description
Is your feature request related to a problem? Please describe.
It's helpful to examine the state of the program at the moment when something exceptional occurs. Stacktraces alone don't provide enough information, like the value of the variables at the exception time.
Describe the solution you'd like
An option to set a breakpoint on exception, similar to SLBD (or even GDB or node debugger).
Describe alternatives you've considered
Wrapping the point of exception in a try-form and setting breakpoint on except. Kind of works, but only (1) in your own source code (not on exceptions thrown in libraries) (2) only after you known the position in the code which throws.
Additional context
I'm sure that this is a very common request and that there is some really good technical reason, why it wasn't implemented here. But I didn't find any issues tracking it, so I though I'll make one.