Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [platform-debug-dev] Automatically select top stackframe ofa suspended thread


That's what the Java debugger does. Ensure that your thread state is correct when you fire the event - i.e. isSuspended() is true, and getStackFrames() will return frames.

Darin Wright



"Subhash Daga" <sdaga@xxxxxxxxx>
Sent by: platform-debug-dev-bounces@xxxxxxxxxxx

04/27/2007 11:59 AM

Please respond to
"Eclipse Platform Debug component developers list."        <platform-debug-dev@xxxxxxxxxxx>

To
"Eclipse Platform Debug component developers list." <platform-debug-dev@xxxxxxxxxxx>
cc
Subject
RE: [platform-debug-dev] Automatically select top stackframe ofa        suspended thread





Thanks. This is what I call from my IThread implmentation of suspend() method:    

fireSuspendEvent(DebugEvent.CLIENT_REQUEST);

The thread changes its state from running to suspended. But I manually have to expand the thread in the viewer and select the top stack frame. Any thoughts what might be wrong?



From: platform-debug-dev-bounces@xxxxxxxxxxx [mailto:platform-debug-dev-bounces@xxxxxxxxxxx] On Behalf Of Darin Wright
Sent:
Thursday, April 26, 2007 1:14 PM
To:
Eclipse Platform Debug component developers list.
Subject:
Re: [platform-debug-dev] Automatically select top stackframe ofa suspended thread



Stack frames are selected automatically when a thread suspends (if you have an implementation of the standard debug model that fires DebugEvent's).


Darin Wright



"Subhash Daga" <sdaga@xxxxxxxxx>
Sent by: platform-debug-dev-bounces@xxxxxxxxxxx

04/26/2007 02:06 PM

Please respond to
"Eclipse Platform Debug component developers list."        <platform-debug-dev@xxxxxxxxxxx>


To
<platform-debug-dev@xxxxxxxxxxx>
cc
Subject
[platform-debug-dev] Automatically select top stackframe of a        suspended thread







I'm looking for a way to automatically select the top stack frame of a suspended thread. Similar to the way it works in java debugging. Any help is appreciated.

 

Thanks.
_______________________________________________
platform-debug-dev mailing list
platform-debug-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-debug-dev

_______________________________________________
platform-debug-dev mailing list
platform-debug-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-debug-dev


Back to the top