[antlr-interest] Building for Debugging?

Ric Klaren klaren at cs.utwente.nl
Mon Mar 1 05:17:52 PST 2004


On Sun, Feb 29, 2004 at 05:10:18PM -0000, offline314159 wrote:
> I attempted to turn on the debugging mode for my parser, got this
> exception:
> 
> java.lang.RuntimeException: setDebugMode() only valid if parser built
> for debugging
> 
> My grammar has the option analyzerDebug=true set in it, but i still
> get this.  How can i fix this?

I think that should be the -debug option when generating. I have no clue
though if the old parseview stuff still works. The guy who wrote it went
MIA. On my antlr page there's a somewhat updated version of the parseview
stuff but I have no idea wether it still works:

http://wwwhome.cs.utwente.nl/~klaren/antlr

The analyzerDebug option is only for debugging parts of antlr itself.

Cheers,

Ric
-- 
-----+++++*****************************************************+++++++++-------
    ---- Ric Klaren ----- j.klaren at utwente.nl ----- +31 53 4893722  ----
-----+++++*****************************************************+++++++++-------
     "Evil will always triumph, because Good is dumb." ---  Spaceballs



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
     antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 



More information about the antlr-interest mailing list