summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/debuggeractions.cpp
diff options
context:
space:
mode:
authorhjk <qthjk@ovi.com>2012-11-11 00:32:33 +0100
committerhjk <qthjk@ovi.com>2012-11-16 13:59:47 +0100
commit3685ce759986db45598cb5c4df2e53568d9dd63c (patch)
tree8f67bff59baa78cbc0a16eee55b5dde76a926547 /src/plugins/debugger/debuggeractions.cpp
parentcb7d4f8d1ccf5925243cad57807c6e1f4f8296ba (diff)
downloadqt-creator-3685ce759986db45598cb5c4df2e53568d9dd63c.tar.gz
debugger: make string cutoff value configurable
Change-Id: I118016956a597ad689daa438f5517a47efe3cef0 Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/debugger/debuggeractions.cpp')
-rw-r--r--src/plugins/debugger/debuggeractions.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/debugger/debuggeractions.cpp b/src/plugins/debugger/debuggeractions.cpp
index 655f3bcda5..a80ad358b6 100644
--- a/src/plugins/debugger/debuggeractions.cpp
+++ b/src/plugins/debugger/debuggeractions.cpp
@@ -553,6 +553,11 @@ DebuggerSettings::DebuggerSettings(QSettings *settings)
insertItem(MaximalStackDepth, item);
item = new SavedAction(this);
+ item->setSettingsKey(debugModeGroup, QLatin1String("MaximalStringLength"));
+ item->setDefaultValue(10000);
+ insertItem(MaximalStringLength, item);
+
+ item = new SavedAction(this);
item->setText(tr("Reload Full Stack"));
insertItem(ExpandStack, item);