aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debuggeractions.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2021-01-18 16:30:38 +0100
committerhjk <[email protected]>2021-01-20 09:45:03 +0000
commit79ade10c4afa5cf8db864f0ce4d446afa9e8f055 (patch)
tree0a76a17848674f04facdcc165938d85fd0b4f3aa /src/plugins/debugger/debuggeractions.cpp
parent0ed99a954b0395c9f94264575fc1756b055fe6b4 (diff)
Debugger: Add an option to show simple values as text annotations
Change-Id: I726d8559d7e28abd776ce483d5f670be5af09412 Reviewed-by: AndrĂ© Hartmann <[email protected]> Reviewed-by: David Schulz <[email protected]>
Diffstat (limited to 'src/plugins/debugger/debuggeractions.cpp')
-rw-r--r--src/plugins/debugger/debuggeractions.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/plugins/debugger/debuggeractions.cpp b/src/plugins/debugger/debuggeractions.cpp
index 631bb881546..53e04570e7c 100644
--- a/src/plugins/debugger/debuggeractions.cpp
+++ b/src/plugins/debugger/debuggeractions.cpp
@@ -498,6 +498,15 @@ DebuggerSettings::DebuggerSettings()
insertItem(IntelFlavor, item);
item = new SavedAction;
+ item->setSettingsKey(debugModeGroup, "UseAnnotations");
+ item->setText(tr("Use annotations in main editor when debugging"));
+ item->setToolTip(tr("<p>Checking this will show simple variable values "
+ "as annotations in the main editor during debugging."));
+ item->setCheckable(true);
+ item->setDefaultValue(true);
+ insertItem(UseAnnotationsInMainEditor, item);
+
+ item = new SavedAction;
item->setSettingsKey(debugModeGroup, "UseToolTips");
item->setText(tr("Use tooltips in main editor when debugging"));
item->setToolTip(tr("<p>Checking this will enable tooltips for variable "