patch applied (ghc): Breakpoint code instrumentation
Ian Lynagh <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.cvs.all |
|---|---|
| Message-ID | <20061216174241.GA5811__32372.0489199788$1166290991$gmane$org@cvs.haskell.org> |
Sun Dec 10 12:49:34 PST 2006 Pepe Iborra <[email protected]> * Breakpoint code instrumentation Instrumentation gets activated by the '-fdebugging' dynflag. All the instrumentation occurrs in the desugarer; it consists of inserting 'breakpoint' combinators at a number of places in the AST, namely: - Binding sites - Do-notation statements These 'breakpoint' combinators will later be further desugared (at DsExpr) into ___Jump functions. For more info about this and all the ghci.debugger see the page at the GHC wiki: http://hackage.haskell.org/trac/ghc/wiki/GhciDebugger M ./compiler/deSugar/Desugar.lhs -5 +11 M ./compiler/deSugar/DsBreakpoint.lhs +77 M ./compiler/deSugar/DsExpr.lhs -6 +6 M ./compiler/deSugar/DsGRHSs.lhs +1 M ./compiler/deSugar/DsMonad.lhs -2 +19 M ./compiler/iface/TcIface.lhs -1 +3 M ./compiler/main/Breakpoints.hs +6 M! ./compiler/main/DynFlags.hs -1 +4 M ./compiler/main/GHC.hs -2 +19 M ./compiler/main/HscMain.lhs +2 M ./compiler/main/HscTypes.lhs -3 +7 M ./compiler/main/TidyPgm.lhs -4 +8 M ./compiler/typecheck/TcRnDriver.lhs -1 +3