[antlr-interest] Easier way to debug

Dave Cramer davec at postgresintl.com
Tue Mar 27 19:45:18 PDT 2007


As a complete newbie to this, I'm wondering if there is an easier way  
to debug than actually stepping through the code.

I accidently created a rule which under certain circumstances was  
used instead of the one I thought was being used.

So when I ran the code I kept getting no viable alternative  
exceptions. Which is OK, but I actually had to step through the code  
to find out what RULE was being used.

Is there a way to turn on some debugging to show this ?

Dave


More information about the antlr-interest mailing list