forked from qt-creator/qt-creator
Debugger: Fix async tooltip handling
For now, only the gdb engine can handle complex tooltips requiring async re-evaluation, cdb and lldb will show and expand only items that are available in the Locals view. This patch disables also the save/restore feature for pinned tooltips. Task-number: QTCREATORBUG-13255 Task-number: QTCREATORBUG-13052 Change-Id: Ic25616fede0f5c4343a92b631f01e60bfc5e9d81 Reviewed-by: David Schulz <david.schulz@theqtcompany.com> Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -2015,10 +2015,10 @@ const WatchData *WatchHandler::findCppLocalVariable(const QString &name) const
|
||||
QByteArray iname = localsPrefix + name.toLatin1();
|
||||
if (const WatchData *wd = findData(iname))
|
||||
return wd;
|
||||
// Nope, try a 'local.this.m_foo'.
|
||||
iname.insert(localsPrefix.size(), "this.");
|
||||
if (const WatchData *wd = findData(iname))
|
||||
return wd;
|
||||
// // Nope, try a 'local.this.m_foo'.
|
||||
// iname.insert(localsPrefix.size(), "this.");
|
||||
// if (const WatchData *wd = findData(iname))
|
||||
// return wd;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user