使用 ANTLRWorks 调试 Antlr 语法代码(语言 =“CSharp3”)
Using ANTLRWorks, I'm trying to use debugging feature.
Following the instructions in this page, I could generate the cs code, but I have this error message.
I made that java/javaw can communicate through firewall.
What might be wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我遇到了同样的问题,我通过将 JDK 的路径(javac、javaw、java)添加到 PATH 变量来解决它。事实证明,在 ANTLRWorks 设置中指示编译器的路径对于代码生成来说是可以的,但对于调试来说却不行。
I had the same problem and I managed to solve it by adding the path to JDK (javac, javaw, java) to the PATH variable. It turned out that indicating the path to the compiler in ANTLRWorks settings is ok for code generation but not for debugging.