Tree grammars must be debugged remotely. Set up your real project (use Maven if 
you can) then generate the tree parser with the -debug option. When you run 
your program it will appear to hang. Now switch to ANTLRWorks, load the tree 
grammar, then debug remotely rather than locally. ANTLRWorks will connect to 
your program and debug it live.

Jim

> -----Original Message-----
> From: [email protected] [mailto:antlr-interest-
> [email protected]] On Behalf Of John851
> Sent: Friday, December 11, 2009 6:45 AM
> To: [email protected]
> Subject: [antlr-interest] ANTLRworks
> 
> Hello,
> 
> I write my parser and lexer in ANTLRworks. And I debug it in
> ANTLRworks.
> It's very convinient.
> 
> Now I'm developing code generator with StringTemplate group file.
> I want to debug my tree grammar with its StringTemplate group in
> ANTLRworks. Is it possible?
> 
> I don't understand clearly how to tell ANTLRworks to use my
> StringTemplate group file when I debug my tree grammar parser.
> 
> John
> 
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-
> email-address




List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

--

You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.


Reply via email to