[antlr-interest] setting k Value Versus Predicates
Gavin Lambert
antlr at mirality.co.nz
Tue Feb 16 12:04:29 PST 2010
At 00:15 17/02/2010, Gokulakannan Somasundaram wrote:
>ANTLRWorks doesn't support anything other than java for
debugging.
>I just tested it.
That's what the Debug Remote option is for. First, you generate
and compile your grammar externally, using the -debug option to
ANTLR to make it add debugging support. Then, you run your parser
outside of ANTLRWorks (it will pause and wait for a debugging
connection), then you pick Debug Remote in ANTLRWorks to connect
to it, and debug as normal.
It's a bit more of a hassle than debugging Java code, but that's
because ANTLRWorks doesn't know how to compile any other
languages, so it makes sense.
More information about the antlr-interest
mailing list