Add history/trace functionality to the GHCi debugger
authorSimon Marlow <simonmar@microsoft.com>
Thu, 3 May 2007 13:19:55 +0000 (13:19 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Thu, 3 May 2007 13:19:55 +0000 (13:19 +0000)
commite1b8996040150d5b4027ebd50c2df1f24d79a531
tree0ecf28374adf9f2892ffb8aba12721928e55448e
parentcddf971c391fabb796675d0031422dc63884f25a
Add history/trace functionality to the GHCi debugger

The debugger can now log each step of the evaluation without actually
stopping, keeping a history of the recent steps (currently 50).  When
a (real) breakpoint is hit, you can examine previous steps in the
history (and their free variables) using the :history, :back and
:forward commands.
compiler/ghci/GhciMonad.hs
compiler/ghci/InteractiveUI.hs
compiler/main/GHC.hs
compiler/main/InteractiveEval.hs