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

Bug 114960

Summary: Run/Debug configurations should be disabled for closed projects
Product: [Eclipse Project] JDT Reporter: Geert Poels <Geert.Poels>
Component: DebugAssignee: JDT-Debug-Inbox <jdt-debug-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: minor    
Priority: P3 CC: Geert.Poels
Version: 3.1.1   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:

Description Geert Poels CLA 2005-11-03 13:27:32 EST
From an ergonomic/user point of view, it's strange behaviour to allow a user
to launch a run/debug session of a closed project.  Only to immediately show
an error dialog stating "Launch configuration X references closed project
Y".

It would be better to disable it right away in the run/debug configuration
comboboxes.
(or to at least feature an icon besides its name).

As a user might want to access its information, this would still be possible
by clicking the general 'Run.../Debug...'.

PS : If the Eclipse UI team would decide to nevertheless keep this way of
working, than maybe the 'details' button of this error dialog should be
enabled => upon a click, that particular run/debug configuration should be
opened to allow a user to switch projects.  Maybe a third button could be
added : "Open project".
Comment 1 Darin Wright CLA 2005-11-03 13:57:43 EST

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