[antlr-interest] Debuging C# language target with ANTLRWorks...

Johannes Luber jaluber at gmx.de
Fri Jul 13 07:16:41 PDT 2007


Lloyd Dupont wrote:
> From the ANTLR book:
> "Because ANTLRWorks communicates with running parsers via sockets, the
> ANTLRWorks debugger works with any ANTLR language target"
>  
> Now I wonder, how can I test my grammar in C#?
> Currently I am running with dummay Java method, which I should replace
> with C# code once it will work.
> I tried to debug my C# grammar initially but it didn't work.
>  
> I probably missed something, buty someone might know, what are the steps
> to debug my C# Parser from ANTLRWorks?

I've attached the source code of a file which handles remote debugging.
Adapt the code to your situation, start the parser and start remote
debugging in ANTLRworks.

Best regards,
Johannes Luber
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ANTLR3ToRelaxNG.cs
Url: http://www.antlr.org/pipermail/antlr-interest/attachments/20070713/af9eba6a/attachment.pl 


More information about the antlr-interest mailing list