ANTLR“无法启动调试器。超时等待连接到远程解析器。“ [英] ANTLR “Cannot launch the debugger. Time-out waiting to connect to the remote parser.”

查看:199
本文介绍了ANTLR“无法启动调试器。超时等待连接到远程解析器。“的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在AntlrWorks中运行的一个ANTLR语法抛出:
无法启动调试器。超时等待连接到远程解析器。

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

在过去,这个消息通常会消失,但是这个消息是持久的。在搜索ANTLR列表(例如 http://www.antlr .org / pipermail / antlr-interest / 2009-June / 034659.html )有一些提示,错误信息与它似乎是无关,但可能是一个语法错误。

In the past this message usually goes away but this one is persistent. On searching the ANTLR lists (e.g. http://www.antlr.org/pipermail/antlr-interest/2009-June/034659.html) 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?

推荐答案

p>我发现Windows防火墙规则真的可以干扰调试器,所以确保你没有设置它来阻止Java VM。

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.

这篇关于ANTLR“无法启动调试器。超时等待连接到远程解析器。“的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆