#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 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. I would like it.
Though this is not critical since I can just fully qualify all the names
which are imported in my breakpoint scripts. Since the list of all the
import directives can be long this would increase command prompt a lot.
That means the modules introduced with import directives should be
represented by one token in the command prompt (e.g. bpContext). This
would also allow to add/remove all the imports easily with {{{:module
(+|-)bpContext}}}.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2803#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs