ANTLR parser hanging at proxy.handshake call

久未见 提交于 2019-12-05 17:17:21

There is a -debug option in Antlr that causes additional code to generated allowing for remote debugging. When the code pauses on the the

dbg.Handshake();

call, it is waiting for the remote debugger to connect to it. In AntlrWorks you can use the Run --> Remote Debug option to connect to it and step through the code.

If you don't wish to use the remote debugging functionality, remove the -debug option from the ANTLR options text box.

File --> Preferences --> General --> ANTLR Options

Peter Boughton

I solved this by disabling the generation of debug code within the ANTLR IDE plugin.

The setting for this is under Windows > Preferences > ANTLR > Code Generation.

Expand the General section and untick the debug option:


(source: bpsite.net)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!