I am using Netbeans 7.1.1. I have a C++ project that uses stl. I made a clean build on UBuntu (version 10.10-Maverick Meerkat). When I try to single step, the debugger doesn't stop on next line. Instead it continues as if I pressed Continue button.
Is it a known issue? Am I missing any gotchas?
Thanks Joe
You need to use Debug->Step Into instead of "Debug Main project" toolbar button for single stepping to work. This is due to Netbeans incompatibility with newer gdb versions (7.2 is what I tried).
One more gotcha I found debugging C++ code from Netbeans is that sometimes it hangs on startup if you are watching some variables. Remove all watch expressions and the debugger works fine.