forked from qt-creator/qt-creator
Debugger: Make display of QObject names optional
... and switch it off by default. The feature has indeterministic performance impact and lost quite a bit of its utility since GDB learned to extract dynamic object types most of the times. Change-Id: I22cccb03ba67f9ff6ad757bbc06eb372d84bbffe Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -268,6 +268,18 @@ DebuggerSettings::DebuggerSettings()
|
||||
item->setValue(true);
|
||||
insertItem(ShowQtNamespace, item);
|
||||
|
||||
item = new SavedAction(this);
|
||||
item->setSettingsKey(debugModeGroup, QLatin1String("ShowQObjectNames"));
|
||||
item->setText(tr("Show QObject names if available"));
|
||||
item->setDialogText(tr("Show QObject names if available"));
|
||||
item->setToolTip(tr("<p>Displays the objectName property of QObject based items. "
|
||||
"Note that this can negatively impact debugger performance "
|
||||
"even if no QObjects are present."));
|
||||
item->setCheckable(true);
|
||||
item->setDefaultValue(false);
|
||||
item->setValue(false);
|
||||
insertItem(ShowQObjectNames, item);
|
||||
|
||||
item = new SavedAction(this);
|
||||
item->setSettingsKey(debugModeGroup, QLatin1String("SortStructMembers"));
|
||||
item->setText(tr("Sort Members of Classes and Structs Alphabetically"));
|
||||
|
||||
Reference in New Issue
Block a user