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

Bug 211008

Summary: Allow suspending the VM when a thread is suspended
Product: [Eclipse Project] JDT Reporter: Jeffrey K Czyz <jkczyz>
Component: DebugAssignee: JDT-Debug-Inbox <jdt-debug-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: darin.eclipse, markus.kell.r
Version: 3.4   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Jeffrey K Czyz CLA 2007-11-26 22:43:06 EST
Suspending and resuming the VM was addressed in Bug 7860.  In the comments, it is stated that either the entire VM can be suspended or individual threads can be suspended, but not both.  I would like to request to have this restriction removed.  I cannot determine if there was a reason why this was necessary.

It would be useful if, when suspended at a breakpoint, one could suspend the remaining threads by suspending the VM (debug target).  This would allow examining call stacks which can be useful for finding concurrency bugs.  Currently, the only other options are:

- suspend all other thread individually, or
- change the breakpoint's suspend policy

The first option is time consuming for programs with many threads.  The second option does not offer the flexibility of resuming individual threads once the VM is suspended.
Comment 1 Darin Wright CLA 2008-04-28 17:32:45 EDT
Feature freeze is upon us, marking assigned for future consideration.
Comment 2 Markus Keller CLA 2010-01-29 05:12:03 EST

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