summaryrefslogtreecommitdiffstats
path: root/genvmop.txr
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2018-03-12 06:26:39 -0700
committerKaz Kylheku <kaz@kylheku.com>2018-03-12 06:26:39 -0700
commit656a8eaea985f569376871a479ee1abf4d99d82e (patch)
tree3bcadd6339163745c3046ddec8e39c84c9d60597 /genvmop.txr
parent0ed1a4855cd4c821107dde0eb43e472fe233374b (diff)
downloadtxr-656a8eaea985f569376871a479ee1abf4d99d82e.tar.gz
txr-656a8eaea985f569376871a479ee1abf4d99d82e.tar.bz2
txr-656a8eaea985f569376871a479ee1abf4d99d82e.zip
unwind: better debugging of exceptions.
Once upon a time when we didn't have continuable warning exceptions, it was easy to debug internal error throws in TXR: just set a breakpoint on uw_throw and catch it in the debugger. This approach became unworkable with uw_throw being executed numerous times as part of the ordinary program control flow. With this change, we get that debugging experience back. * unwind.c (uw_break_on_error): New static variable. (uw_throw): If the break-on-error variable is set and we are processing an exception derived from error, then call the breakpt function.
Diffstat (limited to 'genvmop.txr')
0 files changed, 0 insertions, 0 deletions