Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360496 - not launching more than one launchconfiguration
Summary: not launching more than one launchconfiguration
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 4.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-11 02:11 EDT by praveenasram CLA
Modified: 2019-11-14 03:29 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description praveenasram CLA 2011-10-11 02:11:16 EDT
Build Identifier: 20110615-0604

i used rename method of ILaunchConfigurationWorkingCopy to rename name my launch configuration.It renames launch configuration name successfully but when i want launch more than one launch configuration of same project it is not allowing at the same time it is not throwing any error

Reproducible: Always

Steps to Reproduce:
1.use rename method in Ilaunchconfigurationworkingcopy.Generate eclipse.

2.Select the project and click on the debug tool select debug configuration and click on it and debug configuration wizard will be open now launch the debug configuration

3.After first launch now again try to launch second debug configuration.
Comment 1 Curtis Windatt CLA 2011-10-11 09:35:45 EDT
Moving to debug.

Your steps are not very clear.  You are programmatically modifying a launch configuration from a plug-in?  Did you check that no errors are logged since none pop up?
Comment 2 praveenasram CLA 2011-10-14 09:06:33 EDT
(In reply to comment #1)
> Moving to debug.
> 
> Your steps are not very clear.  You are programmatically modifying a launch
> configuration from a plug-in?  Did you check that no errors are logged since
> none pop up?

Hi,

Yes i am modifying programmatically.I used remane() of ILaunchConfigurationCopy
to rename name field of the debug configurations.after launching debug configurations for a project,If we want launch debug configurations to another project it is not launching no errors are logged.If we delete all the existing debug configurations then it is allowing.It is allowing only one project debug configuration.
Comment 3 Michael Rennie CLA 2011-10-14 10:09:07 EDT
(In reply to comment #2)

> 
> Yes i am modifying programmatically.I used remane() of ILaunchConfigurationCopy
> to rename name field of the debug configurations.after launching debug
> configurations for a project,If we want launch debug configurations to another
> project it is not launching no errors are logged.If we delete all the existing
> debug configurations then it is allowing.It is allowing only one project debug
> configuration.

What kind of launch configuration is this? Are you perhaps trying to rename the configuration to a name that already exists? Launch configurations use a flat namespace in Eclipse, so no two of them can share a name. 

To help with creating a unique name for a launch configuration we have an API method ILaunchManager#generateLaunchConfigurationName.
Comment 4 Lars Vogel CLA 2019-11-14 03:29:33 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.