summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/ghci.debugger/scripts/hist001.script
blob: 5f8eab637e2ffdcd524303e3d107282d55c02bb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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.