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
4b4901b7
Commit
4b4901b7
authored
Jun 30, 2009
by
hjk
Browse files
debugger: don't remove breakpoints when attaching to running process
parent
7569c6af
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/gdbengine.cpp
View file @
4b4901b7
...
...
@@ -1539,7 +1539,8 @@ bool GdbEngine::startDebugger(const QSharedPointer<DebuggerStartParameters> &sp)
if
(
q
->
startMode
()
==
AttachExternal
||
q
->
startMode
()
==
AttachCrashedExternal
)
{
postCommand
(
_
(
"attach %1"
).
arg
(
sp
->
attachPID
),
CB
(
handleAttach
));
qq
->
breakHandler
()
->
removeAllBreakpoints
();
// Task 254674 does not want to remove them
//qq->breakHandler()->removeAllBreakpoints();
}
else
if
(
q
->
startMode
()
==
AttachCore
)
{
QFileInfo
fi
(
sp
->
executable
);
QString
fileName
=
_c
(
'"'
)
+
fi
.
absoluteFilePath
()
+
_c
(
'"'
);
...
...
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