Debug should work OK from a parser but tree parser debugging probably isn't too hot. Up to press nobody has really needed to use it. The trace option isn't really implemented but the conditionals are still in the template so that I can come back to it some day. In general I find it more useful to debug the generated C code with a good C level debugger. VS2008 is a great debugger and the Netbeans C project interfacing to the GNU debugger is getting better with every release. Using the C level debugger (especially VS2008) lets you examine all the data structures too.
I will get to fixing up those features, but have not had any time to do so lately. Sorry about that. Jim > -----Original Message----- > From: [email protected] [mailto:antlr-interest- > [email protected]] On Behalf Of Þðóøêèí Ìèõàèë > Sent: Wednesday, October 07, 2009 8:20 AM > To: Gavin Lambert; [email protected] > Cc: [email protected] > Subject: Re: [antlr-interest] [c target] tracing > > Use C traget. > Have added -trace option... But it have generated JAVA code for every > rule > > "System.out.println("exit entity_decl "+LT(1)+" failed="+failed+" > backtracking="+BACKTRACKING);" > > ??? why java not C? > > What about -debug option? It's also not working (see my last message). > Could u write small tutorial with examples. Without them it's difficult > yo > use your system for C target. > > have a nice working day, > Michael > > 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 -~----------~----~----~----~------~----~------~--~---
