Sun Dec 10 15:15:51 PST 2006 Pepe Iborra <[EMAIL PROTECTED]>
* Dynamic breakpoints in GHCi
This patch adds dynamic breakpoints to GHCi
There is a new ':breakpoint' command to manage breakpoints.
GHCi simply uses the breakpoint api functions in ghc-api to install itself as
a client.
The mechanism used by GHCi to keep track of enabled breakpoints is a simple
table.
When a breakpoint is hit, a new interactive session is launched and the
bindings in the breakpoint are injected. Some commands are disabled in this sub
session
A ./compiler/ghci/Debugger.hs
A ./compiler/ghci/Debugger.hs-boot
M ./compiler/ghci/GhciMonad.hs -1 +38
M ./compiler/ghci/InteractiveUI.hs -97 +143
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc