forked from qt-creator/qt-creator
Debugger: Rework display length limitation systems
There are two values now, one to limit an entry in the L&E view (default 100) and a hard upper limit (at 1 mio). If displayed values are elided, the true length is shown in addition. Change-Id: I180b70446c18e258c164e5af75b88d4c8b6c53f2 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -631,8 +631,18 @@ DebuggerSettings::DebuggerSettings()
|
||||
item->setDefaultValue(20);
|
||||
insertItem(MaximalStackDepth, item);
|
||||
|
||||
item = new SavedAction(this);
|
||||
item->setSettingsKey(debugModeGroup, QLatin1String("DisplayStringLimit"));
|
||||
item->setToolTip(tr("The maximal length of string entries in the "
|
||||
"Locals and Expressions pane. Longer than that are cut off "
|
||||
"and displayed with an ellipsis attached."));
|
||||
item->setDefaultValue(100);
|
||||
insertItem(DisplayStringLimit, item);
|
||||
|
||||
item = new SavedAction(this);
|
||||
item->setSettingsKey(debugModeGroup, QLatin1String("MaximalStringLength"));
|
||||
item->setToolTip(tr("The maximal length for strings in separated windows. "
|
||||
"Longer strings are cut off and displayed with an ellipsis attached."));
|
||||
item->setDefaultValue(10000);
|
||||
insertItem(MaximalStringLength, item);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user