call sendInstructionBreakpoints for persisted breakpoints

This commit is contained in:
Andre Weinand 2021-07-22 09:57:27 +02:00
parent 93c8ad6ecb
commit a0e2977ead
No known key found for this signature in database
GPG key ID: 845199EE2839F4EB

View file

@ -1007,6 +1007,7 @@ export class DebugService implements IDebugService {
await Promise.all(distinct(this.model.getBreakpoints(), bp => bp.uri.toString()).map(bp => this.sendBreakpoints(bp.uri, false, session)));
await this.sendFunctionBreakpoints(session);
await this.sendDataBreakpoints(session);
await this.sendInstructionBreakpoints(session);
// send exception breakpoints at the end since some debug adapters rely on the order
await this.sendExceptionBreakpoints(session);
}