Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321925 - [run control] Debug should allow to suspend a group or all processes
Summary: [run control] Debug should allow to suspend a group or all processes
Status: CLOSED DUPLICATE of bug 336876
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.6   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-05 17:14 EDT by James CLA
Modified: 2011-06-08 10:06 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James CLA 2010-08-05 17:14:26 EDT
Build Identifier: 20090920-1017

It would be nice if there were a button or option to suspend all processes that are being debugged, for multi process building.

Reproducible: Always

Steps to Reproduce:
1. Debug multi-launch application
2. Each launch needs to be paused individually
3.
Comment 1 Darin Wright CLA 2010-08-06 08:34:25 EDT
Note that multi-select works - i.e. select both targets and press suspend.
Comment 2 James CLA 2010-08-16 08:09:18 EDT
(In reply to comment #1)
> Note that multi-select works - i.e. select both targets and press suspend.

True- but I can easily end up with 20+ targets, and "select all" selects components which can not be suspended, disabling the button. I therefore need to select each one manually. This is doable, but it would be nice if there was a suspend all feature
Comment 3 Pawel Piech CLA 2011-06-08 09:13:21 EDT
I think the more appropriate feature would be to allow grouping of processes under a customizable element where you can dnd a set of desired targets.  This could be implemented by individual debuggers though.  

Is this a request for the java debugger?
Comment 4 James CLA 2011-06-08 09:33:55 EDT
(In reply to comment #3)
> I think the more appropriate feature would be to allow grouping of processes
> under a customizable element where you can dnd a set of desired targets.  This
> could be implemented by individual debuggers though.  

When a top level item (not the individual processes) is selected, the pause button is disabled. Could that not remain enabled so all processes under that element can be paused/resumed?

> Is this a request for the java debugger?

Our intent was for CDT debugging, but the same could potentially hold true for Java debugging
Comment 5 Marc Khouzam CLA 2011-06-08 09:47:08 EDT
(In reply to comment #4)

> Is this a request for the java debugger?
> 
> Our intent was for CDT debugging, but the same could potentially hold true for
> Java debugging

We are working on a grouping feature for the CDT debugger.  Description at:
http://wiki.eclipse.org/CDT/MultiCoreDebugWorkingGroup/DebugElementsGrouping
and work at bug 336876

Note that this is for a single debug session only.  But CDT's debug session now support multi-process:
http://wiki.eclipse.org/CDT/User/NewIn80#Multi-process_Debugging
Comment 6 James CLA 2011-06-08 09:52:11 EDT
(In reply to comment #5)
> We are working on a grouping feature for the CDT debugger.  Description at:
> http://wiki.eclipse.org/CDT/MultiCoreDebugWorkingGroup/DebugElementsGrouping
> and work at bug 336876

The development of Stop Mode debugging is exactly the case we are looking for. The ability to group processes and issue commands to the entire group will solve this issue.

Due to bug 336876, this could be considered a duplicate.
Comment 7 Michael Rennie CLA 2011-06-08 10:06:37 EDT
> Due to bug 336876, this could be considered a duplicate.

Ok, lets dupe it, and if you find that enhancement is not quite working for you we can reopen this one and go from there.

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