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
04ad5619
Commit
04ad5619
authored
Jul 20, 2010
by
hjk
Browse files
debugger: somewhat more graceful shutdown in known situations
parent
f8555f42
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/debuggerengine.cpp
View file @
04ad5619
...
...
@@ -1409,7 +1409,15 @@ void DebuggerEngine::setActive(bool on)
void
DebuggerEngine
::
quitDebugger
()
{
showMessage
(
"QUIT DEBUGGER REQUESTED"
);
shutdownInferior
();
d
->
m_targetState
=
DebuggerFinished
;
if
(
state
()
==
InferiorStopOk
)
{
d
->
doShutdownInferior
();
}
else
if
(
state
()
==
InferiorRunOk
)
{
d
->
doInterruptInferior
();
}
else
{
// FIXME: We should disable the actions connected to that
notifyInferiorIll
();
}
}
void
DebuggerEngine
::
requestInterruptInferior
()
...
...
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