[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] Debug button not picking up a Debug configuration?
|
In Preferences->Run/Debug->Launching you can define if
* the last configuration will be launched
or
* the selected resource or associated project
The last one is the default. This one was launched in your case. I guess you
want the first option (I guess most people want this).
Axel
> 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.
>
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>