aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debuggeractions.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2014-06-23 16:33:19 +0200
committerhjk <[email protected]>2014-06-24 08:48:15 +0200
commitfc46406fc8b58c970b9b44f66aef82f39f37f25f (patch)
treee6559d60839e91baa61d79d4853ce0783fcbca9f /src/plugins/debugger/debuggeractions.cpp
parenta83548f189bbeac9deb7813ad7ec05d334f7a066 (diff)
Debugger: Allow loading dumpers from a file directly
Instead of requiring the user to add the required python code to load them manually let him specify a file directly. This also makes the feature accessible to LLDB which needs a slightly different syntax. Task-number: QTCREATORBUG-12492 Change-Id: I12621b1cea2429476b0865bcbcb739a238dcf6af Reviewed-by: Orgad Shaneh <[email protected]>
Diffstat (limited to 'src/plugins/debugger/debuggeractions.cpp')
-rw-r--r--src/plugins/debugger/debuggeractions.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/plugins/debugger/debuggeractions.cpp b/src/plugins/debugger/debuggeractions.cpp
index 89901af73ea..976453e5d27 100644
--- a/src/plugins/debugger/debuggeractions.cpp
+++ b/src/plugins/debugger/debuggeractions.cpp
@@ -404,7 +404,13 @@ DebuggerSettings::DebuggerSettings()
item = new SavedAction(this);
item->setSettingsKey(debugModeGroup, QLatin1String("GdbCustomDumperCommands"));
item->setDefaultValue(QString());
- insertItem(GdbCustomDumperCommands, item);
+ insertItem(ExtraDumperCommands, item);
+ item = new SavedAction(this);
+
+ item = new SavedAction(this);
+ item->setSettingsKey(debugModeGroup, QLatin1String("ExtraDumperFile"));
+ item->setDefaultValue(QString());
+ insertItem(ExtraDumperFile, item);
item = new SavedAction(this);
item->setSettingsKey(debugModeGroup, QLatin1String("GdbPostAttachCommands"));