summaryrefslogtreecommitdiff
path: root/rts/Linker.c
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2007-05-15 12:45:54 +0000
committerSimon Marlow <simonmar@microsoft.com>2007-05-15 12:45:54 +0000
commit17f848e12faf8cf51aa58918522b6abe1e75dc51 (patch)
tree9549b89a3a88422c5e1742f83d2474cb82066d7b /rts/Linker.c
parentfb80639a87dcd7c6e08bd4a5d5a509d8098e9fe6 (diff)
downloadhaskell-17f848e12faf8cf51aa58918522b6abe1e75dc51.tar.gz
GHCi debugger: new flag -fbreak-on-exception
When -fbreak-on-exception is set, an exception will cause GHCi to suspend the current computation and return to the prompt, where the history of the current evaluation can be inspected (if we are in :trace). This isn't on by default, because the behaviour could be confusing: for example, ^C will cause a breakpoint. It can be very useful for finding the cause of a "head []" or a "fromJust Nothing", though.
Diffstat (limited to 'rts/Linker.c')
-rw-r--r--rts/Linker.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/rts/Linker.c b/rts/Linker.c
index 3b7324de7c..e489bed818 100644
--- a/rts/Linker.c
+++ b/rts/Linker.c
@@ -710,8 +710,7 @@ typedef struct _RtsSymbolVal {
SymX(getAllocations) \
SymX(revertCAFs) \
SymX(RtsFlags) \
- Sym(breakPointIOAction) \
- Sym(rts_setStepFlag) \
+ SymX(rts_breakpoint_io_action) \
RTS_USER_SIGNALS_SYMBOLS
#ifdef SUPPORT_LONG_LONGS