forked from qt-creator/qt-creator
DAP: Move to a unified way to handle breakpoints
Rely on SetBreakpoints response instead of breakpoint event. Change-Id: Iff052a13c442fb1fcd945cf1a80f1354c43c15c5 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -224,6 +224,8 @@ void DapClient::emitSignals(const QJsonDocument &doc)
|
||||
type = DapResponseType::Pause;
|
||||
} else if (command == "evaluate") {
|
||||
type = DapResponseType::Evaluate;
|
||||
} else if (command == "setBreakpoints") {
|
||||
type = DapResponseType::SetBreakpoints;
|
||||
}
|
||||
emit responseReady(type, ob);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user