OS: Ubuntu Oneiric 32-bit
Eclipse: Indigo 3.7.2
Package: Eclipse IDE for C/C++ Linux Developers
I'm debugging a simple C++ command line program. It compiles fine. When I hit the Debug button, it highlights the first line of main(). I can single-step with F5/F6. I can inspect data. But I cannot set breakpoints. Double-clicking in the left margin does bupkis.
The Run menu contains a Breakpoint Types item, which opens a submenu that simply says None Available.
I redownloaded the Eclipse package. No change. There are no other add-ons or plug-ins that didn't come with the package. There is nothing funny about my project configuration, which is about as simple as it can be.
> The Run menu contains a Breakpoint Types item, which opens a submenu that simply says None Available.
That is a problem.
Are tracepoints available as a type of breakpoint after you enable them?
Here is how to enable them, look at the part: "Enable the C/C++ Tracepoint functionality"
They weren't available. However, I nuked the project and recreated it, and now breakpoints work. I half wish I know what went wrong, but it's the sort of thing that only happens once when you're a newbie, so I won't bother trying to recreate the problem.