diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index 9bd7cd873351fc58008773f0560dd1259846fd2f..e91c661bff8d840d0d9087eda30865ae165d35ab 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -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('"');