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

Johannes Luber jaluber at gmx.de
Mon Mar 31 06:30:59 PDT 2008


Mayur M schrieb:
> Hi,
>  
>  
> Can ANTLR be used as a plugin and be debugged from VS C#.NET?

I know that there is at least one Eclipse plugin for ANTLR - or was it 
for ANTLRworks? Never used it myself. At least I believe an VS plugin is 
possible.

> Any help on procedure for debugging the Grammar?

What do you mean with that exactly? Do you want to use ANTLRworks 
facilities? Or simply stepping through the generated code files? Or do 
you want to control the generated code like ANTLRworks does via remote 
debugging? In the last case you should look at the C# or Java source for 
debugging help, as there is the other half you have to interface with. 
Although looking the ANTLRworks source code could be helpful, too. BTW, 
the C# target is currently broken, although I am in the process of 
fixing it. You may want to wait a few weeks as 3.1 introduces a slightly 
changed debugging protocol.

Johannes


More information about the antlr-interest mailing list