[antlr-interest] C++ debugging weirdness

Bryan Ewbank ewbank at gmail.com
Tue Jan 11 07:43:43 PST 2005

I'm debugging C++ generated code on a linux box with gdb (ANTLR
2.7.4), and have run into a rather strange problem.

The object "inputState", though present in the code, is apparently not
visible to the debugger.

Have other people encountered this problem?  Any work-arounds (other
than writting bug-free code :-) for this?

I'm compiling with "g++ -ggdb", and using gdb 6.1 and g++ 3.2.2.

Thanks for any guidance.

More information about the antlr-interest mailing list