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
2b8c7d68
Commit
2b8c7d68
authored
Apr 07, 2010
by
hjk
Browse files
debugger: no need to kill the process if someone tries 'step out' on the outermost level
parent
98e6eac6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/gdbengine.cpp
View file @
2b8c7d68
...
...
@@ -1560,10 +1560,12 @@ void GdbEngine::handleExecuteContinue(const GdbResponse &response)
QTC_ASSERT
(
state
()
==
InferiorRunningRequested
,
/**/
);
setState
(
InferiorStopped
);
QByteArray
msg
=
response
.
data
.
findChild
(
"msg"
).
data
();
if
(
msg
.
startsWith
(
"Cannot find bounds of current function"
))
{
if
(
msg
.
startsWith
(
"Cannot find bounds of current function"
)
||
msg
.
startsWith
(
"
\"
finish
\"
not meaningful in the outermost frame"
))
{
if
(
!
m_commandsToRunOnTemporaryBreak
.
isEmpty
())
flushQueuedCommands
();
showStatusMessage
(
tr
(
"Stopped."
),
5000
);
reloadStack
(
true
);
//showStatusMessage(tr("No debug information available. "
// "Leaving function..."));
//executeStepOut();
...
...
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