ANTLR “Cannot launch the debugger. Time-out waiting to connect to the remote parser.”


One of my ANTLR grammars running in AntlrWorks throws: “Cannot launch the debugger. Time-out waiting to connect to the remote parser.”

In the past this message usually goes away but this one is persistent. On searching the ANTLR lists (e.g. <a href="http://www.antlr.org/pipermail/antlr-interest/2009-June/034659.html" rel="nofollow">http://www.antlr.org/pipermail/antlr-interest/2009-June/034659.html</a>) there are hints that the error message is nothing to do with what it seems but could be a grammar error.

Has anyone got tips as to how to "reboot" or find the bugs in this situation?


I've found that the Windows firewall rules can really interfere with the debugger, so make sure you haven't set it to block the Java VM.

Also, try waiting a bit and then choosing the "Debug Remote" option, often the debugger just takes a little while and the main process times out, but the debugger does still come up.


It may or may not relate - but we got rid of the problem as follows:

On a UNIX box it didn't occur. On Windows it did. There were two parser rules that differed by case (e.g. myfoo and myFOO). When they were resolved the error went away.

I updated the ANTLRworks but the error persisted until we "solved" it as above.


  • How to validate authenticode for Javascript in C#
  • Using javascript to select a radio button inside an iframe
  • Marshalling of Object with CDATA using Jersey Framework
  • How to add specific attributes to JSF datatable header
  • What's the best way in Ruby to average sets in an array?
  • SQLite cannot open database with password encryption
  • Reading a double from an istream in Hex
  • How can you call an emitter callback from separate c++ thread in an addon?
  • centos7 部署镜像仓库 harbor步骤详解
  • Replace a specific line in a file using Ruby
  • How to send a signal to the main thread in python without using join?
  • How do I link to a file to download that a browser can’t view?
  • SQL Select including Data type and Data values
  • Add a realtime progress update to a slow page in asp.net
  • pygtk glib.timeout_add(): How to tell if timer not being destroyed?
  • Interpreting COMP-3 Packed Decimal Fields into numeric values
  • vue-chartjs reactive data error
  • How does one print a Unicode character code in Python?
  • Java generic class, inner class using parameter of outer class
  • MASSIVE GOOGLE MAPS. 5000 places, 5MB. How to make it faster?
  • Python Multi-threading Help
  • Storyboard iOS MBProgressHUD
  • Do iTunesConnect external testers get updates for *every* uploaded ipa file after Beta Approval?
  • How to run Daphne Server (Django Channels) & workers in the background?
  • Draw 9 patch dotted /dashed line on Android
  • Showing image on a acro text field position
  • Why do you need 2 Javascript files for cross-platform Cordova plugin?
  • select an input by value?
  • Ember.js + JQuery-UI Tooltip - Tooltip does not reflect the model / controller changes
  • Annotate objects in a queryset with next and previous object ids
  • How to split wav file into two or more parts using c#
  • Content-Type alternative in MQTT
  • How to encrypt Connectionstring written in web.config from codebehind?
  • Call Microservice from another Microservice within Docker