Changes between Version 10 and Version 11 of GhcDebuggers


Ignore:
Timestamp:
Jan 26, 2007 2:59:10 PM (8 years ago)
Author:
guest
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GhcDebuggers

    v10 v11  
    3232GhciD transforms E like so: 
    3333 
    34    {{{ breakpointJump <id> <vals> <srcloc> E }}} 
     34{{{  
     35breakpointJump <id> <vals> <srcloc> E  
     36}}} 
    3537 
    3638where <id> is a pointer into a data structure in Ghci which contains indentifer infos, <vals> is a list of values of local variables, and <srcloc> is a source location of the breakpoint. The problem with this is that the data structures associated with <id> <vals> <srcloc> are turned into let allocations by the compiler. This is costly. To keep the costs down GhciD only annotates a limited class of expressions, such as function bodies and case alternatives.