Community
Participate
Working Groups
Build Identifier: CDT 6.0 User is not warned of having references to invalid launch configuration. This can commonly happen when having a big pool of launches that depend on some projects that might be closed (intentionally or not). Another minor issue is that if C/C++ launches are filtered with capabilities, user still will see them when adding a new launch configuration to the launch group. Reproducible: Always Steps to Reproduce: 1. Create a C++ new project (e.g. test) 2. Create a C/C++ Application launch named (e.g. test.launch) 3. Create a new "Launch Group" launch. Add previous launch "test.launch" into the group launch. 4. Close test project. 5. Open debug settings for the "Launch Group" launch. Noticed that launch configuration appears to be valid (no error details on top of the dialog). Also there's no hint that test.launch is the problem.
Created attachment 167923 [details] Improve validation fix Attached fix will: - not show launch configurations that are filtered-out through capabilities - hitting edit on invalid launch would not work - Mark the launch as not valid if there's at least one checked launch configuration that either is filtered /deleted or is not a valid (e.g. closed project). - Set error icon to each invalid launch configuration reference. User still can reference stale/wrong launch configuration but have to uncheck the corresponding entry.
patch reviewed - ok (you have commit right already right?)
(In reply to comment #2) > patch reviewed - ok (you have commit right already right?) Thank you. I do not have cvs write access yet. waiting paperwork processing.
applied on trunk
*** cdt cvs genie on behalf of elaskavaia *** Bug 312427 Launch groups should have better validation/filtering of referenced launch configuration (patch from Teodor Madan) [*] MultiLaunchConfigurationSelectionDialog.java 1.8 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/ui/MultiLaunchConfigurationSelectionDialog.java?root=Tools_Project&r1=1.7&r2=1.8 [*] MultiLaunchConfigurationTabGroup.java 1.11 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/ui/MultiLaunchConfigurationTabGroup.java?root=Tools_Project&r1=1.10&r2=1.11 [*] LaunchMessages.properties 1.34 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/ui/LaunchMessages.properties?root=Tools_Project&r1=1.33&r2=1.34 [*] MultiLaunchConfigurationDelegate.java 1.13 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/MultiLaunchConfigurationDelegate.java?root=Tools_Project&r1=1.12&r2=1.13