forked from qt-creator/qt-creator
Debugger: Introduce a tree level above stack frames
This level is meant to take the role of current thread handler in the long run, allowing per-thread stackviews in each engine. For now, the additional level holds just a single, invisible dummy item playing the role of a "current thread". Change-Id: Ief6131500fc1aa8902f2313038a65840b80b495b Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -439,8 +439,6 @@ public:
|
||||
m_lookupRequests.clear();
|
||||
m_locationTimer.stop();
|
||||
m_locationMark.reset();
|
||||
m_stackHandler.resetLocation();
|
||||
m_watchHandler.resetLocation();
|
||||
m_disassemblerAgent.resetLocation();
|
||||
m_toolTipManager.resetLocation();
|
||||
}
|
||||
@@ -1889,7 +1887,7 @@ void DebuggerEngine::operateByInstructionTriggered(bool on)
|
||||
{
|
||||
// Go to source only if we have the file.
|
||||
// if (DebuggerEngine *cppEngine = m_engine->cppEngine()) {
|
||||
d->m_stackHandler.resetModel();
|
||||
d->m_stackHandler.rootItem()->updateAll();
|
||||
if (d->m_stackHandler.currentIndex() >= 0) {
|
||||
const StackFrame frame = d->m_stackHandler.currentFrame();
|
||||
if (on || frame.isUsable())
|
||||
|
||||
Reference in New Issue
Block a user