Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Delete ILaunchConfigurations

When I create ILaunchConfigurations and later delete them they do not disappear from the Run/Debug Settings page (right click the project->properties->Run/Debug Settings)

To delete I use a function like the one below.

void deleteILaunchConfiguration(ILaunchConfiguration launchConfiguration {
  launchConfiguration.delete();
}

If I look in the folder

.metadata/.plugins/org.eclipse.debug.core/.launches

I can see that the launch file is created and later deleted but for some reason the Run/Debug Setting page is not updated. If I restart Eclipse it will be deleted from the Run/Debug Settings page, so it seem like the page is not properly updated when a launch configuration is deleted (it is updated when the launch configuration is created).

Do I need to call another function to updated the Run/Debug Settings page or is it a bug?

/Mikael

Back to the top