Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] selected thread/frame in debug view

Hi Link,
The intended solution for this problem is for the service to send a container suspended event.  The container event has a triggering thread method which returns the thread that should be focused in the UI.  Sending multiple suspend events will not scale very well.

Cheers,
Pawel

On 07/28/2010 11:33 PM, Ling.5.Wang@xxxxxxxxx wrote:

Hi there,

 

In a multiple process multiple thread debug session with EDC debugger, I ran into the problem that the focused thread & stack frame in debug view changes randomly. Say, I do a stepping in thread A, then after stepping the focus may change to thread B.

 

I’m doing system mode debugging where suspending of one thread means suspending of the whole OS, so I do need to fire suspend event for all threads after the stepping. However, I find that the problem above is not related to the order by which I send ISuspendedDMEvent’s for the threads, namely it happens regardless of whether I send event for thread A first or thread B first.

 

So my question is, with DSF (I assume this is controllable in DSF layer), how can I keep the focus on the thread I’m stepping in ?

 

Thanks.

 

Ling

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


Back to the top