patch applied (ghc): Dynamic breakpoints in GHCi
Ian Lynagh <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.cvs.all |
|---|---|
| Message-ID | <20061216174300.GA5905__11857.3159481913$1166291017$gmane$org@cvs.haskell.org> |
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