Community
Participate
Working Groups
For years I have been annoyed by the fact that the 'Launch' shortcuts in the toolbar do not stop the current processes that may or may not be associated with a launch. I.e. 'Oops it was already running and now it crashes because that port is in use' Or "Oops now I have two copies of that process in the debugger and now I'm not sure which one is the one that I actually want to debug. So I guess I'll have to stop them both and restart it again. Surprisingly, this problem has already been fixed see: https://bugs.eclipse.org/bugs/show_bug.cgi?id=578877#c20 I think the problem is that this 'fix' is a bit of a 'hidden gem' feature that I think is really hard to discover by a user. So, perhaps we can make this feature more discoverable somehow? Some suggestions to this end: 1. Have a 'Relaunch' button side by side with the existing launch button. 2. Alternatively, we can just switch the default of the 'Launch' button so that it stops previous processes and behaves like 'Relaunch'. (Personally, this is the behavior that I want at least 99% of the time, I would thinking most people would agree, but I guess that is open to debate as I can only speak for myself).
Thank-you for drawing this to my attention, I didn't know it was a preference. It's now set to "on" (Preferences -> Run/Debug -> Launching -> Terminate and relaunch while launching) :-)
Pleases create new issues in github, We are working on how to help users know where to create bug. https://github.com/eclipse-platform/eclipse.platform.debug/issues