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.
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.
I had the same problem. Solved by opening debugging configuration and changing process launcher to "Standard create process launcher" after clicking on the button "Select other" at the bottom of the window.
Why doesn't it work out of the box? Someone might have spent several hours or days figuring this out. Hope this saves someone's day.