[antlr-interest] How do I turn off debugging in generated code?

Peter Boughton boughtonp at gmail.com
Fri Nov 27 11:44:38 PST 2009


Ok, so eventually I discovered the answer myself.

In ANTLR Eclipse plugin settings, Code Generator page, there is a
"General" section, at the bottom, which is collapsed by default.

Inside that General section, the first option is "-debug (generate a
parser that emits debugging events)" and it defaults to being ticked -
simply untick it and the debugging code doesn't get generated.


More information about the antlr-interest mailing list