forked from qt-creator/qt-creator
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 <orgads@gmail.com>
This commit is contained in:
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user