aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/watchhandler.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2018-06-18 13:16:22 +0200
committerhjk <[email protected]>2018-06-25 13:44:40 +0000
commite8ce8e3e5fa7446826438ddef0baa377763e40d0 (patch)
treed461308c3e9362cd580faa7858f46fc32f465739 /src/plugins/debugger/watchhandler.cpp
parentf7163a1e8aea56f86b7af0dbf03816f0c543e972 (diff)
Debugger: Allow stack layout to be shown in a memory view
... as opposed to an editor (only) Change-Id: Ideb176b961afef8674a7597f1b18a90c48e5e9f8 Reviewed-by: Christian Stenger <[email protected]>
Diffstat (limited to 'src/plugins/debugger/watchhandler.cpp')
-rw-r--r--src/plugins/debugger/watchhandler.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/debugger/watchhandler.cpp b/src/plugins/debugger/watchhandler.cpp
index 2464c79faec..502c3cd8db1 100644
--- a/src/plugins/debugger/watchhandler.cpp
+++ b/src/plugins/debugger/watchhandler.cpp
@@ -1783,6 +1783,10 @@ QMenu *WatchModel::createMemoryMenu(WatchItem *item, QWidget *parent)
createPointerActions,
[this, item, pos] { addVariableMemoryView(true, item, true, pos); });
+ addAction(menu, tr("Open Memory View Showing Stack Layout"),
+ true,
+ [this, pos] { addStackLayoutMemoryView(true, pos); });
+
menu->addSeparator();
addAction(menu, tr("Open Memory Editor at Object's Address (0x%1)").arg(item->address, 0, 16),