Skip to content
Snippets Groups Projects
Commit 938dedba authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Debugger [CDB]: Values missing in locals view.

Task-number: QTCREATORBUG-861

Account for internal dumpers expanding children when reading out
SymbolGroupContext.
parent c8a61cc8
No related merge requests found
......@@ -50,8 +50,9 @@ bool CdbSymbolGroupContext::getDumpChildSymbols(const QString &prefix,
return false;
// Skip over expanded children. Internal dumping might expand
// children, so, re-evaluate size in end condition.
const int count = size();
for (int s = start; s < count; ++s) {
// Note the that the internal dumpers might expand children,
// so the size might change.
for (int s = start; s < size(); ++s) {
const DEBUG_SYMBOL_PARAMETERS &p = symbolParameterAt(s);
if (p.ParentSymbol == parentId && isSymbolDisplayable(p)) {
WatchData wd;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment