[comp.lang.c] debugging embedded user C code in SUN YACC

donovan@julius.csl.sri.com (Donovan Hsieh) (03/02/90)

I wa strying to use dbx and gdb on the SUN to debug my C codes embedded
in the YACC grammar file. But
the man page of dbx says :

    " dbx is confused by the output of program generators such  as
     yacc(1) and lex(1)."

I tried and found that dbx does not allow you to set break point to
those C codes embedded in the YACC
grammar rules. Gdb also respondes similarly. I would be appreciated if
any one has a work around or better
way to debug it. Please reply to my email address since I don't normally
read this news group.

Thanks,

Donovan Hsieh

Computer Science Lab
SRI International

email : donovan@csl.sri.com