[GHC] #1084: Improve coalescing of dynamic breakpoints in the ghci debugger

GHC trac at galois.com
Thu Jan 4 04:51:08 EST 2007


#1084: Improve coalescing of dynamic breakpoints in the ghci debugger
----------------------------+-----------------------------------------------
    Reporter:  mnislaih     |       Owner:         
        Type:  task         |      Status:  new    
    Priority:  normal       |   Milestone:  6.8    
   Component:  GHCi         |     Version:  6.6    
    Severity:  normal       |    Keywords:         
  Difficulty:  Easy (1 hr)  |    Testcase:         
Architecture:  Unknown      |          Os:  Unknown
----------------------------+-----------------------------------------------
(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
  1. Removing adjacent breakpoints, i.e. removing one of them (not
 implemented yet)
  1. 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.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1084>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list