Skip to content
  • Sylvain Henry's avatar
    f1de8643
    GHCi: support inlining breakpoints (#24712) · f1de8643
    Sylvain Henry authored and Andreas Klebinger's avatar Andreas Klebinger committed
    When a breakpoint is inlined, its context may change (e.g. tyvars in
    scope). We must take this into account and not used the breakpoint tick
    index as its sole identifier. Each instance of a breakpoint (even with
    the same tick index) now gets a different "info" index.
    
    We also need to distinguish modules:
    - tick module: module with the break array (tick counters, status, etc.)
    - info module: module having the CgBreakInfo (info at occurrence site)
    
    (cherry picked from commit b85b1199)
    f1de8643
    GHCi: support inlining breakpoints (#24712)
    Sylvain Henry authored and Andreas Klebinger's avatar Andreas Klebinger committed
    When a breakpoint is inlined, its context may change (e.g. tyvars in
    scope). We must take this into account and not used the breakpoint tick
    index as its sole identifier. Each instance of a breakpoint (even with
    the same tick index) now gets a different "info" index.
    
    We also need to distinguish modules:
    - tick module: module with the break array (tick counters, status, etc.)
    - info module: module having the CgBreakInfo (info at occurrence site)
    
    (cherry picked from commit b85b1199)
Loading