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:
Artem Sokolovskii
2023-10-17 16:08:52 +02:00
parent b98be3d5a0
commit 3bf61cc36c
11 changed files with 116 additions and 118 deletions

View File

@@ -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;