[antlr-interest] Issues Remote Debugging when using C Target and ASTs

Jim Idle jimi at temporal-wave.com
Wed Aug 6 14:54:45 PDT 2008


On Wed, 2008-08-06 at 13:43 -0600, Kurt Otte wrote:

> I am new to antlr so maybe these are known issues, but I am running
> into trouble trying to get AntlrWorks to remote debug a grammar which
> is targeted at C and generates ASTs.  I have found several issues
> which I wondered if anyone had some thoughts on how to resolve.



> #3 – I seems the default remote debug port in C is different than the
> ANTLRWorks default.  It took me some digging through the code to find
> it, but I guess C expects the port to be 4100
> (antlr3debugeventlistener.h:  #define DEFAULT_DEBUGGER_PORT   0xBFCC)
> and AltlrWorks expects it to be 49153
> (http://www.antlr.org/wiki/pages/viewpage.action?pageId=4554898).  I
> am not sure if makes since to line these up or update the docs, but I
> thought I would pass it along for the next guy since it took some time
> to track down.

What version of ANTLRWorks are you using?  These ports are supposedly
aligned now. We changed it because the previous default was in conflict
with something that runs on most Vista systems.

Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080806/250d10c8/attachment.html 


More information about the antlr-interest mailing list