Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Debugging Yacc is completely insane with gdb, for other reasons, like that grammar rules aren't functions you can just put a breakpoint on, and see their backtrace, etc, as you can with a recursive descent parser.

But yes, you can put a line-oriented breakpoint on your action code and step through it.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: