diff options
author | hjk <[email protected]> | 2014-12-12 08:26:55 +0100 |
---|---|---|
committer | hjk <[email protected]> | 2014-12-12 11:17:58 +0100 |
commit | bf9b63174eefb0dd6788264867da06505942460d (patch) | |
tree | 9751a29171d12e6986a6889d46c3e6da479901d5 /src/plugins/debugger/debuggeractions.cpp | |
parent | ef064154a4c29cd95af9007b9ab22493a7da1b37 (diff) |
Debugger: Introduce a "Native Mixed" switch
This paves the the way to mixed QML/C++ debugging
through the native backends. Currently this requires
QTC_DEBUGGER_NATIVE_MIXED to be set in the environment.
Change-Id: I126ad945e84806f3b548408318007351628c912f
Reviewed-by: Leena Miettinen <[email protected]>
Reviewed-by: Christian Stenger <[email protected]>
Diffstat (limited to 'src/plugins/debugger/debuggeractions.cpp')
-rw-r--r-- | src/plugins/debugger/debuggeractions.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/plugins/debugger/debuggeractions.cpp b/src/plugins/debugger/debuggeractions.cpp index c6b59cc60fd..43805333ce6 100644 --- a/src/plugins/debugger/debuggeractions.cpp +++ b/src/plugins/debugger/debuggeractions.cpp @@ -34,6 +34,7 @@ #include "registerpostmortemaction.h" #endif +#include <coreplugin/coreconstants.h> #include <coreplugin/icore.h> #include <utils/savedaction.h> #include <utils/qtcassert.h> @@ -184,6 +185,18 @@ DebuggerSettings::DebuggerSettings() insertItem(OperateByInstruction, item); item = new SavedAction(this); + item->setText(tr("Native Mixed Mode")); + item->setCheckable(true); + item->setDefaultValue(true); + item->setIcon(QIcon(QLatin1String(Core::Constants::ICON_LINK))); + item->setToolTip(tr("This switches the debugger to native-mixed " + "operation mode. In this mode, stepping and data display will " + "be handled by the native debugger backend (GDB, LLDB or CDB) " + "for C++, QML and JS sources.")); + item->setIconVisibleInMenu(false); + insertItem(OperateNativeMixed, item); + + item = new SavedAction(this); item->setText(tr("Dereference Pointers Automatically")); item->setCheckable(true); item->setDefaultValue(true); |