forked from qt-creator/qt-creator
Debugger [CDB]: Values missing in locals view.
Task-number: QTCREATORBUG-861 Account for internal dumpers expanding children when reading out SymbolGroupContext.
This commit is contained in:
@@ -50,8 +50,9 @@ bool CdbSymbolGroupContext::getDumpChildSymbols(const QString &prefix,
|
|||||||
return false;
|
return false;
|
||||||
// Skip over expanded children. Internal dumping might expand
|
// Skip over expanded children. Internal dumping might expand
|
||||||
// children, so, re-evaluate size in end condition.
|
// children, so, re-evaluate size in end condition.
|
||||||
const int count = size();
|
// Note the that the internal dumpers might expand children,
|
||||||
for (int s = start; s < count; ++s) {
|
// so the size might change.
|
||||||
|
for (int s = start; s < size(); ++s) {
|
||||||
const DEBUG_SYMBOL_PARAMETERS &p = symbolParameterAt(s);
|
const DEBUG_SYMBOL_PARAMETERS &p = symbolParameterAt(s);
|
||||||
if (p.ParentSymbol == parentId && isSymbolDisplayable(p)) {
|
if (p.ParentSymbol == parentId && isSymbolDisplayable(p)) {
|
||||||
WatchData wd;
|
WatchData wd;
|
||||||
|
|||||||
Reference in New Issue
Block a user