[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cdt-dev] RE: selected thread/frame in debug view
- From: Marc Khouzam <marc.khouzam@xxxxxxxxxxxx>
- Date: Thu, 29 Jul 2010 06:33:44 -0400
- Accept-language: en-US
- Acceptlanguage: en-US
- Delivered-to: email@example.com
- Thread-index: Acsudg+zsxy29Zf+SB+p/qigeIKaLAAb7lggAAjvBCE=
- Thread-topic: selected thread/frame in debug view
Could this be related to DSF's selection policy? Check out DefaultDsfSelectionPolicy.java
From: cdt-dev-bounces@xxxxxxxxxxx [cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Ling.5.Wang@xxxxxxxxx [Ling.5.Wang@xxxxxxxxx]
Sent: July 29, 2010 2:33 AM
Subject: [cdt-dev] selected thread/frame in debug view
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 ?