<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>Newbie that  need to debug lexer and parser file .g</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hi,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">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 :-)</FONT></P>

<P><FONT SIZE=2 FACE="Arial">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 :-)</FONT></P>

<P><FONT SIZE=2 FACE="Arial">I press OK and I see some operation in progress and after seconds I get the message:</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Cannot launch the debugger and Time-out waiting to connect to remote parser.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">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.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">any hints are very much welcome!</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">cheers,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">//mike</FONT>
</P>

</BODY>
</HTML>