[antlr-interest] ANTLRWorks 2 (for ANTLR v4)

Andreas Stefik stefika at gmail.com
Fri Sep 2 10:32:11 PDT 2011


On Fri, Sep 2, 2011 at 11:58 AM, Terence Parr <parrt at cs.usfca.edu> wrote:
>
> On Sep 1, 2011, at 1:20 PM, Andreas Stefik wrote:
>> Debugger:
>>
>> I'll admit that I don't really use the debugger. I have before and I
>> really like it, but most of the projects I do require that you
>> integrate into the build cycle of projects in the NetBeans development
>> environment. In practice, I've never found a way I can really run the
>> debugger, with all of my complicated build information set together
>> (e.g., tricky dependencies, ant scripts) in such a way that it is
>> worth the effort.
>
> hi Andreas,So it's hard to use the remote debug feature whereby AW you can listen to socket events from the parser? All I do is turn on -debug, recompile and start my project. when that parser starts up, it blocks waiting for a connection from AW.


Hmm, the honest answer is that I'm not sure, as I haven't tried it
that way. When I debug the parser on my bigger projects, I'm usually
touching the semantics/other phases anyway, so I usually fire up
NetBeans, set a breakpoint in the generated code, and fire up the
NetBeans debugger. So I don't know. What you mentioned certainly
doesn't sound difficult, although I don't know for sure if it would
help me in my most common use cases.

Honestly, though, like I said, I use the rest of AW far more often
than I use the debugger, so I'm not the best judge on that side.

Stefik


More information about the antlr-interest mailing list