[GHC] #2803: bring full top level of a module in scope when a breakpoint is hit in the module

GHC trac at galois.com
Sun Nov 23 13:57:18 EST 2008


#2803: bring full top level of a module in scope when a breakpoint is hit in the
module
---------------------------------+------------------------------------------
    Reporter:  phercek           |       Owner:        
        Type:  feature request   |      Status:  new   
    Priority:  normal            |   Component:  GHCi  
     Version:  6.8.3             |    Severity:  normal
    Keywords:  debugger          |    Testcase:        
Architecture:  Unknown/Multiple  |          Os:  Linux 
---------------------------------+------------------------------------------
 It should do something like {{{:module + *ModuleWhereBreakpointWasHit}}}
 and remove the added top level symbols of
 {{{ModuleWhereBreakpointWasHit}}} when we leave it.
 The goal is so that the functions which are in scope when we hit a
 breakpoint are readily available for investigations of the values stored
 in the free variables of the selected expression.
 This feature request is a consequence of the dicsussion in this ticket
 http://hackage.haskell.org/trac/ghc/ticket/2740#comment:4

 ... and a realated thing: When I do something like {{{:module + ModName}}}
 and later I do {{{:module + *ModName}}} then the non-exported symbols from
 {{{ModName}}} are not added into the scope.

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


More information about the Glasgow-haskell-bugs mailing list