[GHC] #2946: tracing should be controled by a global flag
GHC
trac at galois.com
Thu May 14 16:31:36 EDT 2009
#2946: tracing should be controled by a global flag
---------------------------------+------------------------------------------
Reporter: phercek | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 6.12 branch
Component: GHCi | Version: 6.10.1
Severity: minor | Resolution:
Keywords: debugger | Difficulty: Unknown
Testcase: | Os: Unknown/Multiple
Architecture: Unknown/Multiple |
---------------------------------+------------------------------------------
Changes (by phercek):
* summary: tracing should be controled by a global flag (it should not
be resume context specific) => tracing should
be controled by a global flag
Comment:
As I discussed in message
[http://permalink.gmane.org/gmane.comp.lang.haskell.glasgow.user/16270 my
experience with ghci debugger extensions], the {{{:set trace}}} should
have a grammar like this:[[BR]]
{{{
-- should everything be traced?
:set trace (True|False)
-- scopes which should be traced (or should not be traced when ! is
present)
:set trace ( (!)? scopeid )*
-- add/remove individual scopeids to/from the trace specification
:set trace (+|-) (!)? scopeid
-- scopeid = ( conid . )* ( varid . )* varid | { breakPointArgs }
}}}
{{{scopeId}}} can be specified by its hierarchical identifier or by
breakpoint arguments in curly braces.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2946#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list