Skip to content

Improve coalescing of dynamic breakpoints in the ghci debugger

(or disable it altogether)

Right now coalescing of breakpoints works at instrumentation time by:

  1. Not inserting a breakpoint if there are no local bindings in the site
  2. Removing adjacent breakpoints, i.e. removing one of them (not implemented yet)
  3. adhoc case: if we are about to insert a breakpoint but the subexpresion is a HsLet, then don't.

Proposal is to disable cases 1 and 3 and implement case 2 using rewriting rules.

Trac metadata
Trac field Value
Version 6.6
Type Task
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHCi
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Unknown
Architecture Unknown
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information