Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 270469

Summary: [launch] The standard launcher should be selected by default.
Product: [Tools] CDT Reporter: Pawel Piech <pawel.1.piech>
Component: cdt-debugAssignee: Pawel Piech <pawel.1.piech>
Status: RESOLVED FIXED QA Contact: Ken Ryall <ken.ryall>
Severity: normal    
Priority: P3 CC: cdtdoug, pawel.1.piech
Version: 6.0Flags: cdtdoug: iplog-
pawel.1.piech: review? (ken.ryall)
Target Milestone: 6.0   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Partial fix.
none
Updated patch. none

Description Pawel Piech CLA 2009-03-30 11:51:16 EDT
In M6 I added support for multiple launchers, so that both DSF-GDB and CDI could share the same set of launch configurations.  However, currently the user has to explicitly select one of the launchers himself in order to proceed with launching.  This is confusing to users and can be considered a regression.

One way to solve this problem would be to have CDT set a preference setting to make CDI the default, but this would require defining a CDT "product" and would only be helpful for users that download the "Eclipse IDE for C/C++ Developers" package.  So I'll investigate other ways of achieving this goal.

See also bug 262840.
Comment 1 Pawel Piech CLA 2009-04-01 01:35:16 EDT
Created attachment 130508 [details]
Partial fix.

This is a crude solution, but it could get us through 6.0.  We'd still need to do a similar hard-coding for the context launcher.
Comment 2 Pawel Piech CLA 2009-04-23 16:25:41 EDT
Created attachment 133018 [details]
Updated patch.

This patch properly handles the different config. types and it adds the same workaround in the context launching.
Comment 3 Pawel Piech CLA 2009-04-23 18:06:22 EDT
I committed the fix.  Ken, if you get a chance please review the change.