Hi Bryan, I was facing the same problem. The problem was solved when I rebooted my system and tried again. I suspect the problem was due to improper quitting of the ANTLRWorks software, due to which the port was not properly closed. Also ensure that no other softwares are using the same port number used by ANTLR debugger.
-- Best Regards, Jevitha On Sun, May 24, 2009 at 12:48 PM, Bryan S Follins <as...@mindspring.com>wrote: > I am in a class using ANTLR Works. My operating system is Windows XP Home > edition. I tried creating a simple grammar file and I was able to generate > the code. > > > > grammar T; > > /**match things like "call foo;"*/ > > r : 'call' ID ';' {System.out.println("invoke" + > $ID.text);}; > > ID : 'a'..'z'+ ; > > WS : (' ' | '\n' | '\r')+ {$channel=HIDDEN;}; > > > > > > > > > > > > However, when I tried to debug I got two errors. I have pasted them below: > > > > When I tried to do the first debug I got the error below: Cannot launch the > debugger. Time-out waiting to connect the remote parser. > > > > Also got an “Error 2.” > > > > I tried using ANTLR Works on Windows XP Home Edition and Windows Vista and > got the same errors. > > > > Some assistance would be appreciated. Thanks. > > > > LL > > > > > > > > "When you have eliminated the impossible, whatever remains, however > improbable, must be the truth." > > --Sherlock Holmes from Sir Arthur Conan Doyle's *The Sign of Four.* > > > > *I AM an information warrior...* > > > List: http://www.antlr.org/mailman/listinfo/antlr-interest > Unsubscribe: > http://www.antlr.org/mailman/options/antlr-interest/your-email-address > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to il-antlr-interest@googlegroups.com To unsubscribe from this group, send email to il-antlr-interest+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en -~----------~----~----~----~------~----~------~--~---
List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address