Bug 198991 - [menu][run control] Terminate and Relaunch current process
Summary: [menu][run control] Terminate and Relaunch current process
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.4   Edit
Hardware: All All
: P3 enhancement with 6 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-06 22:10 EDT by Jari Pennanen CLA
Modified: 2016-02-05 07:51 EST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jari Pennanen CLA 2007-08-06 22:10:12 EDT
"Terminate and Relaunch current process" addition under Run menu of normal perspective and Debug perspective, also ability to create key shortcut for it. 

If no process is running, but selected (or was last) it should start that.

Current process/selected process of course means the selected process in the debug perspective (the one whom output is *being shown in Console*), if you only have one it is always that.

There should also be other current process shortcuts and menu items, like "Terminate current process".


(There is already possibility to give shortcut for "Terminate and relaunch" but it is rather useless since it does not know which process it is meant and ends up doing nothing.

Btw, one could think that word "Relaunch" already includes terminating and then launching, I find phrase "Terminate and Relaunch" rather overly explicit)
Comment 1 Darin Wright CLA 2007-08-07 16:52:34 EDT
There already are two actions:

(1) Relaunch - launches without terminating
(2) Terminate and Relaunch - terminates and the launches

Both actions are in the debug view context menu. Since the run menu is already very large, we want to avoid placing these actions in the top level menu.
Comment 2 Jari Pennanen CLA 2007-08-10 18:06:11 EDT
(In reply to comment #1)
> There already are two actions:
> 
> (1) Relaunch - launches without terminating
> (2) Terminate and Relaunch - terminates and the launches
> 
> Both actions are in the debug view context menu. Since the run menu is already
> very large, we want to avoid placing these actions in the top level menu.
> 

As I said, they don't do what I described. And they are rather useless if you don't *select process exclusively*... which means you can't do those in *shortcuts*. It really bugs me to change perspective, take my *mouse* and right click on debug process to terminate and relaunch.

In fact every other IDE has shortcuts for selected debug processes terminate/launch/relaunch actions.
Comment 3 Darin Wright CLA 2008-04-28 17:25:20 EDT
Assigned for future consideration
Comment 4 Leo Shklovskii CLA 2008-12-31 14:04:51 EST
I strongly agree with Jari. My specific use case is running an application that I need to restart after code changes. Right now I have to reach over to the mouse, click the 'Stop' in the correct console view, then hit Ctrl+F11 to restart Last Launched.

If a version of the Terminate & Relaunch command could be linked to the Last Launch that would be fantastic. It doesn't even need to be on a menu if that's an issue. As long as the command exists and can accept a keybinding.
Comment 5 Michael Chun CLA 2011-02-19 21:16:50 EST
I agree with Jari.  It would definitely help if a shortcut icon or key is added.  If it clutters the interface too much, perhaps there should be a option to turn this on or off.