[antlr-interest] Newbie that need to debug lexer and parser file .g
Mikael Petterson
mikael.petterson at ericsson.com
Sat Aug 2 01:52:30 PDT 2008
Hi,
In my project I got help from a guy to handle output from clearcase. He
used antlr 3.x to do this. Now I am into the stuff of correcting bugs in
the code and need to know why things is not working. Ok enough with
background :-)
I open the grammerfile ( with both lexer and parser in it) in antlrworks
from command line in windows. Then I generate and run debug. Input text
panel opens up and I select my grammar file as input and error as my
'start rule' to debug. I use windows CRLF as line ending since it is
windows :-)
I press OK and I see some operation in progress and after seconds I get
the message:
Cannot launch the debugger and Time-out waiting to connect to remote
parser.
Hmmm what step am I missing out here. I have started my application in
debug mode ( containin the generated files source was the grammar file)
but I still get the same message.
any hints are very much welcome!
cheers,
//mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080802/8e42e142/attachment.html
More information about the antlr-interest
mailing list