Skip to content
Snippets Groups Projects
Commit 0f0f53a6 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Debugger: Fix stack context menu.

Initial-patch-by: hjk
parent f7a077b1
No related branches found
No related tags found
No related merge requests found
......@@ -102,7 +102,7 @@ void StackWindow::contextMenuEvent(QContextMenuEvent *ev)
const int row = index.row();
const unsigned engineCapabilities = engine->debuggerCapabilities();
StackFrame frame;
if (row < handler->stackSize())
if (row >= 0 && row < handler->stackSize())
frame = handler->frameAt(row);
const quint64 address = frame.address;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment