[antlr-interest] ANTLRWorks debugger

Andreas Meyer andreas.meyer at smartshift.de
Sat Feb 28 11:57:39 PST 2009


Have you tried using the port 49153 from within ANTLRWorks? That worked 
for me. (I have ANTLR 3.1.2 but only the previous-recent version of 
ANTLRworks, if that makes a difference).

Andreas

Filipe David Manana schrieb:
> Hello,
>
> Suddenly, I am no longer able to use the debugger. ANTLRWorks reports 
> that it's not capable of establishing the connection (to my localhost).
> I'm using port 49100, and have no other application using this port or 
> blocking firewall rules:
>
>
> root at core2duo:~# netstat -apn | grep 49100
> root at core2duo:~# iptables -L
> Chain INPUT (policy ACCEPT)
> target     prot opt source               destination        
>
> Chain FORWARD (policy ACCEPT)
> target     prot opt source               destination        
>
> Chain OUTPUT (policy ACCEPT)
> target     prot opt source               destination        
> root at core2duo:~#
>
>
> tcpdump shows me that somehow the connection is refused through tcp 
> reset packets:
>
>
> root at core2duo:~# tcpdump -i lo tcp
> tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
> listening on lo, link-type EN10MB (Ethernet), capture size 96 bytes
> 19:43:36.166844 IP localhost.50571 > localhost.49100: S 
> 3500391462:3500391462(0) win 32792 <mss 16396,sackOK,timestamp 230981 
> 0,nop,wscale 7>
> 19:43:36.167084 IP localhost.49100 > localhost.50571: R 0:0(0) ack 
> 3500391463 win 0
> 19:43:36.667645 IP localhost.50572 > localhost.49100: S 
> 3504550876:3504550876(0) win 32792 <mss 16396,sackOK,timestamp 231106 
> 0,nop,wscale 7>
> 19:43:36.667661 IP localhost.49100 > localhost.50572: R 0:0(0) ack 
> 3504550877 win 0
> 19:43:37.174907 IP localhost.50573 > localhost.49100: S 
> 3518693368:3518693368(0) win 32792 <mss 16396,sackOK,timestamp 231233 
> 0,nop,wscale 7>
> 19:43:37.174923 IP localhost.49100 > localhost.50573: R 0:0(0) ack 
> 3518693369 win 0
> 19:43:37.675554 IP localhost.50574 > localhost.49100: S 
> 3529403760:3529403760(0) win 32792 <mss 16396,sackOK,timestamp 231358 
> 0,nop,wscale 7>
> 19:43:37.675569 IP localhost.49100 > localhost.50574: R 0:0(0) ack 
> 3529403761 win 0
>
> So there's no local app listening on that port.
>
> I also tried using other ports for the debugger, although the problem 
> persists.
>
> Any suggestion?
>
> It was working fine some hours ago. I've even rebooted my machine...
>
> thank you
>
>
> -- 
> Filipe David Manana,
> fdmanana at ieee.org <mailto:fdmanana at ieee.org>
> PGP key - http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC569452B 
> <http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC569452B>
>
> "Reasonable men adapt themselves to the world.
> Unreasonable men adapt the world to themselves.
> That's why all progress depends on unreasonable men."
>
> ------------------------------------------------------------------------
>
>
> 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 mailing list