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

Bug 133733

Summary: [launching] Consider launch options/attributes rather than modes
Product: [Eclipse Project] JDT Reporter: amehrega
Component: DebugAssignee: JDT-Debug-Inbox <jdt-debug-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: info
Version: 3.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 137057    

Description amehrega CLA 2006-03-28 17:16:55 EST
TPTP makes use of the "profile" launch mode that is already contributed by the debug.core plug-in.
We would like the ability to change the human readable labels that are associated with this launch mode:

e.g. Change the label "Profile...", "Profile As", the title of the launch configuration dialog, and the "Profile" button of the launch configuration dialog.  The change is motivated by contributions of launch configurations types that don't really fall under the "profile" category.

The option of contributing a new type of launch mode is very expensive as it requires breaking changes.  We would be more than willing to contribute a new launch mode if there was a mechanism for extending an existing launch mode.  (i.e. The ability to define a custom launch mode that would include an existing mode (e.g. profile) and some other custom launch mode).
Comment 1 Darin Wright CLA 2006-03-28 17:37:02 EST
Existing tools use the profile launch mode - for example, the "yourkit" plug-in (profiler). A launch mode cannot be extended, and the label cannot be changed - this would break tools that use it... - i.e. it cannot sometimes be profile, and sometimes be something else.

The intent here is to contribute a new launch mode - something other than profile, if that is what you need.

Moving forward (after 3.2), there have been requests to consider getting rid of launch modes, and simply "launch" things with modifers, such as a combination of debug/profile. Is that what you are requesting?
Comment 2 amehrega CLA 2006-03-28 17:51:35 EST
That's not exactly what I was looking for but providing a single launch with modifiers will avoid the problem that I have encountered.
Thanks for your quick response.

btw, I don't quite agree with your statement "A launch mode cannot be extended, and the label cannot be changed - this would break tools that use it...".

You can return this as won't fix or a duplicate of the feature that you've mentioned.
Comment 3 Darin Wright CLA 2006-03-29 11:12:06 EST
I can't find a feature request that addresses this issue directly, so I will use this report for the feature.

Rather than using explicit launch modes, we might allow launch options/attributes so run/debug/profile could be combined in different ways.

Deferred for post future consideration. 
Comment 4 Michael Rennie CLA 2006-10-10 13:23:20 EDT
reopen to mark as duplicate
Comment 5 Michael Rennie CLA 2006-10-10 13:23:44 EDT

*** This bug has been marked as a duplicate of 157059 ***