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:
@@ -2581,7 +2581,7 @@ void GdbEngine::loadSymbolsForStack()
|
||||
{
|
||||
bool needUpdate = false;
|
||||
const Modules &modules = modulesHandler()->modules();
|
||||
stackHandler()->forItemsAtLevel<1>([modules, &needUpdate, this](StackFrameItem *frameItem) {
|
||||
stackHandler()->forItemsAtLevel<2>([modules, &needUpdate, this](StackFrameItem *frameItem) {
|
||||
const StackFrame &frame = frameItem->frame;
|
||||
if (frame.function == "??") {
|
||||
//qDebug() << "LOAD FOR " << frame.address;
|
||||
|
||||
Reference in New Issue
Block a user