Skip to content
  • Sylvain Henry's avatar
    GHCi: support inlining breakpoints (#24712) · b85b1199
    Sylvain Henry authored and Marge Bot's avatar Marge Bot 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)
    b85b1199