[antlr-interest] (newbie problem) rewrite rule question

ali azimi aliaazimi at yahoo.com
Tue Jul 10 18:07:37 PDT 2007


Hi,
   
  Yes. It would be fantastic if I could make the debugger in my ANTLRWorks work. I have tried but still can not use the debugger. I remember when I used to try to use the debugger; my ANTLRWorks would produce the following error message:
   
  Connection Error:
  Cannot launch the debugger.
  Time-out waiting to connect to the remote parser.
   
  But when I try to debug my grammar now:
   
  First: the following error message appears:
   
  Error:
  Compiler failed with result code 1.
   
  [01:44:10] \tmp\antlrworks\FinalProjectSimParser.java:23961: illegal start of expression
  [01:44:10]                     return548=return();
  [01:44:10]                               ^
  [01:44:10] \tmp\antlrworks\FinalProjectSimParser.java:23961: illegal start of expression
  [01:44:10]                     return548=return();
  [01:44:10]                                      ^
  [01:44:10] \tmp\antlrworks\FinalProjectSimParser.java:24003: <identifier> expected
  [01:44:10]     public final return_return return() throws RecognitionException {
  [01:44:10]                               ^
  [01:44:10] \tmp\antlrworks\FinalProjectSimParser.java:24003: <identifier> expected
  [01:44:10]     public final return_return return() throws RecognitionException {
  [01:44:10]                                                                    ^
  [01:44:11] 4 errors
   
   
  Second: when I try the debug again, the input text GUI appears. When I give some input, then the following error messages comes up:
   
  Connection Error:
  Cannot launch the debugger.
  Time-out waiting to connect to the remote parser.
   
  This has confused me so much. Any idea what is going on?
   
  Thank you so much in advance.
   
  Best wishes,
   
  Al
   
   

 	      
---------------------------------
Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070710/102ed0cf/attachment-0001.html 


More information about the antlr-interest mailing list