Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
0f0f53a6
Commit
0f0f53a6
authored
Nov 15, 2010
by
Friedemann Kleint
Browse files
Debugger: Fix stack context menu.
Initial-patch-by: hjk
parent
f7a077b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/stackwindow.cpp
View file @
0f0f53a6
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment