[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[cdt-dev] Debug button not picking up a Debug configuration?
|
I've got a workspace with two projects, "Fred" and "Ginger" (both are C++
projects). I have two Debug Launch Configurations: "Ginger Default" and
"Ginger Rogers". Note that there are no Launch Configurations for Fred.
On the toolbar (coolbar?) immediately below the Eclipse menu bar (File,
Edit, Source, Refactor, etc.) is a button with a green bug on it, and a
little drop-down arrow/triangle on the right of the button. When I first
launch Eclipse, hovering over this Debug button shows a tooltip: "Debug
Fred". Clicking on this button at this time produces an error box (Caption:
"Application Launcher", Content: "Launch failed. Binary not found.").
If instead I click on the drop-down arrow, I see the usual menu:
1. Ginger Default
2. Ginger Rogers
---------------------
Debug As
Debug Configurations.
Organize Favorites
I select the first item and the expected Debug Configuration starts.
Now, though, hovering over the Debug button brings up a tooltip reading
"Debug Ginger Default", and clicking on that button will launch the Ginger
Default debug configuration.
My question: Why does Eclipse pick a non-existent Debug Launch Configuration
when it first starts? Also, why doesn't it at least select a valid/extant
Debug Launch Configuration (even better: the last one selected)?
Thanks,
-- Steve G.