[antlr-interest] "Cannot launch the debugger"
parrt at cs.usfca.edu
Mon Jun 1 14:25:19 PDT 2009
I'd make sure that your preferences have the right port number. should
say 49100 for default local port.
On Jun 1, 2009, at 1:27 PM, Matthew Rawlings wrote:
> I have been getting on fine learning ANTLR. I have written my
> grammars and executed the examples downloaded from “The Definitive
> ANTLR Reference”. All grammars work fine from the command line, and
> most work fine from ANTLRWorks. The only problem is that whenever I
> separate the tree grammar and parser grammar I get the modal error
> window in ANTLRWorks titled “Connection Errror”, and stating “Cannot
> launch the debugger. Time-out waiting to connect to the remote
> Steps to reproduce:
> • Download code\tour\trees example from http://www.pragprog.com/titles/tpantlr/source_code
> • Double click to start ANTLRWorks jar on the desktop
> • Open Eval.g in ANTLRWorks
> • Debug Eval.g in ANTLRWorks
> • Enter text value of “3+4” and press “OK” button.
> • Observe “Operation in Progress” window, and then the modal error
> window appears.
> I am running ANTLRWorks 1.2.3. The JDK is 1.6.0_13 according to Help-
> >About, the PATH, and JAVA_HOME.
> I have read all the newsgroup posts on this, which seems a common
> error. I have tried rebooting, checking the port is free, etc., etc.
> There is no Windows firewall.
> The example works fine from the command line, just not from
> Please, how do I get ANTLRWorks working for separate tree grammars
> and parser grammars? Is there something I need to do to initiate
> Expr.g to debug Eval.g?
> Regards - Matthew
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
More information about the antlr-interest