[antlr-interest] Hello All--Problems with ANTLR Works

jevitha jevitha at gmail.com
Sun May 24 01:23:25 PDT 2009


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 <asalh at 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090524/069db3ab/attachment.html 


More information about the antlr-interest mailing list