forked from qt-creator/qt-creator
Debugger: Always sort local variables alphabetically.
It was there for GDB at a time, but never for the other backends. Fix the GDB regression and make the sorting consistent across backends. Task-number: QTCREATORBUG-15296 Change-Id: If728c65f0c8ca4a8378c7cf5e53f1dadbfb72b29 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -513,14 +513,7 @@ void PdbEngine::refreshLocals(const GdbMi &vars)
|
||||
{
|
||||
WatchHandler *handler = watchHandler();
|
||||
handler->resetValueCache();
|
||||
|
||||
const bool sortStructMembers = boolSetting(SortStructMembers);
|
||||
foreach (const GdbMi &child, vars.children()) {
|
||||
WatchItem *item = new WatchItem;
|
||||
item->parse(child, sortStructMembers);
|
||||
handler->insertItem(item);
|
||||
}
|
||||
|
||||
handler->insertItems(vars);
|
||||
handler->notifyUpdateFinished();
|
||||
|
||||
DebuggerToolTipManager::updateEngine(this);
|
||||
|
||||
Reference in New Issue
Block a user