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

Bug 90288

Summary: Debug View: Stackframe is not consistently selected on a suspend thread debug event
Product: [Eclipse Project] Platform Reporter: Alan Boxall <boxall>
Component: DebugAssignee: Platform-Debug-Inbox <platform-debug-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: major    
Priority: P3    
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Alan Boxall CLA 2005-04-05 09:12:33 EDT
I am see my own debug plugin (PDT) and the Java debugger doing the same thing.

> if I have a Suspend VM breakpoint nothing is selected when the JVM is 
suspended.  I have to look for the thread that has "... suspended by ... " in 
its title and expand it to get the stopping stackframe selected<

The first time I run a debug session after starting the workbench the 
stackframe is selected and source and variables appear.
If I stop that debug target and start a second debug target it will stop, show 
the stackframes but the debug target remains selected.   The stackframe is not 
selected and therefore source etc. is not shown.

I have confirmed that my suspend events are sent correctly and in the right 
order.   This consistently works in R3.0

In my trace I see that the suspend event is sent from my main thread but my 
stackframe creation events are sent from a "Worker-n" thread.  Could this be a 
case where the processing of the getStackframes() doesn't finish in time for 
the thread handling the suspend event to select a stackframe?
Comment 1 Alan Boxall CLA 2005-04-05 09:12:47 EDT
M6 driver
Comment 2 Darin Wright CLA 2005-04-05 09:17:20 EDT
Also see bug 89766.

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