[GHC] #2803: bring full top level of a module in scope when a
breakpoint is hit in the module
GHC
trac at galois.com
Fri Feb 6 10:03:24 EST 2009
#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 | Milestone: 6.12 branch
Component: GHCi | Version: 6.8.3
Severity: normal | Resolution:
Keywords: debugger | Difficulty: Unknown
Testcase: | Os: Linux
Architecture: Unknown/Multiple |
---------------------------------+------------------------------------------
Comment (by simonmar):
Replying to [comment:3 phercek]:
> In addition to adding all the symbols (even the nonexported ones) from
the module where breakpoint was hit, consider "executing" all the import
directives of the module where the breakpoint was hit.
The "top-level scope of a module" is exactly the set of names that are in
scope in the source code of a module, including all those names in scope
by virtue of being imported. So I think the proposed solution would do
what you want.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2803#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list