diff options
Diffstat (limited to 'testsuite/tests/ghci.debugger/scripts/hist001.script')
-rw-r--r-- | testsuite/tests/ghci.debugger/scripts/hist001.script | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/tests/ghci.debugger/scripts/hist001.script b/testsuite/tests/ghci.debugger/scripts/hist001.script new file mode 100644 index 0000000000..5f8eab637e --- /dev/null +++ b/testsuite/tests/ghci.debugger/scripts/hist001.script @@ -0,0 +1,15 @@ +:l ../Test3.hs +-- set a break on the [] case in map +:b 1 +-- trace an execution +:tr mymap (+1) [1,2] +:hist +:back +:show bindings +:back +:show bindings +:force _result +:back +:forward +-- at this point, we can't retrieve the bindings because _result (the AP_STACK) +-- was evaluated previously. GHCi should not crash, preferably. |