Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 133733 - [launching] Consider launch options/attributes rather than modes
Summary: [launching] Consider launch options/attributes rather than modes
Status: RESOLVED DUPLICATE of bug 157059
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 137057
  Show dependency tree
 
Reported: 2006-03-28 17:16 EST by amehrega CLA
Modified: 2006-10-10 13:23 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***