[antlr-interest] Debugging grammar throught VS C#.NET

Johannes Luber jaluber at gmx.de
Tue Apr 1 14:56:38 PDT 2008


Mayur M schrieb:
>  
> Hi,
> 
> Thanks for the reply,
> 
> I would like to know about the VS plugin and Is there certain steps or 
> procedures that need to be followed to link the plugin ?

A plugin is a piece of software which can be embedded into other 
software in a way that it looks like it was already a part of the other 
one. What you actually mean is not creating a plugin for VS, but using 
the C# target library in a project. That is entirely different and lead 
me astray. The most important point is that referencing this library is 
half of the work.

> I'm looking for the Debug option facilities available in ANTLRworks as 
> well as control the generated code like ANTLRworks does via 
> remote debugging?
> I tried with both the options without any success.

ANTLRworks supports only direct debugging for Java. AFAIK, it still 
generates the required files with the additional "-debug" option, 
without controlling the parser is impossible (unless you do a 
step-by-step debugging by hand). Once you have the debug version of the 
parser, you have to compile it and start it afterwards. Then using 
remote debugging should work. If you still have problems, ask again.

Johannes


More information about the antlr-interest mailing list