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
Tobias Hunger
qt-creator
Commits
e242929d
Commit
e242929d
authored
Jun 15, 2009
by
Friedemann Kleint
Browse files
Finish Debugger session properly, releasing all files.
parent
341fba10
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/cdb/cdbdebugengine.cpp
View file @
e242929d
...
...
@@ -760,6 +760,12 @@ void CdbDebugEnginePrivate::endDebugging(EndDebuggingMode em)
}
setDebuggeeHandles
(
0
,
0
);
m_engine
->
killWatchTimer
();
// Clean up resources (open files, etc.)
hr
=
m_cif
.
debugClient
->
EndSession
(
DEBUG_END_PASSIVE
);
if
(
FAILED
(
hr
))
errorMessage
+=
msgComFailed
(
"EndSession"
,
hr
);
if
(
!
errorMessage
.
isEmpty
())
{
errorMessage
=
QString
::
fromLatin1
(
"There were errors trying to end debugging: %1"
).
arg
(
errorMessage
);
m_debuggerManagerAccess
->
showDebuggerOutput
(
QLatin1String
(
"error"
),
errorMessage
);
...
...
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