Skip to content
GitLab
Menu
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
148d232e
Commit
148d232e
authored
May 19, 2010
by
hjk
Browse files
debugger: implement return value visualization also for gdb/NoPython
parent
ef84027b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/classicgdbengine.cpp
View file @
148d232e
...
...
@@ -673,6 +673,15 @@ void GdbEngine::handleStackListLocalsClassic(const GdbResponse &response)
if
(
data
.
isValid
())
list
.
push_back
(
data
);
}
if
(
!
m_resultVarName
.
isEmpty
())
{
WatchData
rd
;
rd
.
iname
=
"return.0"
;
rd
.
name
=
"return"
;
rd
.
exp
=
m_resultVarName
;
list
.
append
(
rd
);
}
manager
()
->
watchHandler
()
->
insertBulkData
(
list
);
manager
()
->
watchHandler
()
->
updateWatchers
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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