[antlr-interest] VS .NET Debug problem in ANTLR 2.7.2 and 2.7.4rc1

poornima_prakash poornima.prakash at cgi.com
Thu Apr 22 00:06:28 PDT 2004


Hi,
We are using the ANTLR parser generator in our project. We are facing 
the following problem while running the 2.7.2 and 2.7.4rc1 versions 
of ANTLR.

Debug Problem - 
                 We are using VS .NET 2002 to test the C# parser 
files generated from ANTLR. The output of both the DEBUG and RELEASE 
modes fail to parse the input and gives an error like ...

"Build Tree Error : expecting "" found '(' "

This error is not meaningful both in terms of the grammar for which 
the parser was built and in terms of the validity of the input.
The crazy thing is yet to come ... what we mean is, when breakpoints 
are set at each method definition of the generated code of the parser 
file, and when we start debugging in VS .NET 2002, stepping over each 
breakpoint encounterd ... bingo!!! ... the parsing is a success and 
the desired output(AST) is generated. This sure seems lame ... but we 
tried it on different systems and also on VS .NET 2003 ... the 
problem persists. To give you an idea of the problem on hand, we even 
created a small tool to fire the "F10" key to the VS .NET IDE to save 
ourselves the trouble of pressing the "F10" key many times.

We haven't used NANT ... but just wondering if it addresses the 
problem on hand.

- Poornima





 
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