Debugger: Allow stack layout to be shown in a memory view

... as opposed to an editor (only)

Change-Id: Ideb176b961afef8674a7597f1b18a90c48e5e9f8
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2018-06-18 13:16:22 +02:00
parent f7163a1e8a
commit e8ce8e3e5f

View File

@@ -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),