Bug 579680 - The 'Relaunch' functionality provided by the 'Launch' toolbar button is hard to discover
Summary: The 'Relaunch' functionality provided by the 'Launch' toolbar button is hard ...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 4.24   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-12 14:09 EDT by Kris De Volder CLA
Modified: 2022-04-13 01:20 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kris De Volder CLA 2022-04-12 14:09:31 EDT
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).
Comment 1 Phil Beauvoir CLA 2022-04-12 14:42:23 EDT
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)

:-)
Comment 2 Sarika Sinha CLA 2022-04-13 01:20:59 EDT
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