forked from qt-creator/qt-creator
Cdbext: Add option to return alphabetically sorted locals.
Change-Id: Ida0e8aec41bade10ad1e3ac517812a3a8c120473 Reviewed-by: David Schulz <david.schulz@theqtcompany.com> Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -992,6 +992,8 @@ void CdbEngine::addLocalsOptions(ByteArrayInputStream &str) const
|
||||
str << blankSeparator << "-v";
|
||||
if (boolSetting(UseDebuggingHelpers))
|
||||
str << blankSeparator << "-c";
|
||||
if (boolSetting(SortStructMembers))
|
||||
str << blankSeparator << "-a";
|
||||
const QByteArray typeFormats = watchHandler()->typeFormatRequests();
|
||||
if (!typeFormats.isEmpty())
|
||||
str << blankSeparator << "-T " << typeFormats;
|
||||
@@ -1473,6 +1475,11 @@ void CdbEngine::updateLocals(bool newFrame)
|
||||
[this, newFrame](const CdbResponse &r) { handleLocals(r, newFrame); });
|
||||
}
|
||||
|
||||
void CdbEngine::updateAll()
|
||||
{
|
||||
updateLocals(true);
|
||||
}
|
||||
|
||||
void CdbEngine::selectThread(ThreadId threadId)
|
||||
{
|
||||
if (!threadId.isValid() || threadId == threadsHandler()->currentThread())
|
||||
|
||||
Reference in New Issue
Block a user