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

查看:47
本文介绍了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?

推荐答案

我发现 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天全站免登陆