check correct capability supportsInstructionBreakpoints

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

View file

@ -498,7 +498,7 @@ export class RawDebugSession implements IDisposable {
}
async setInstructionBreakpoints(args: DebugProtocol.SetInstructionBreakpointsArguments): Promise<DebugProtocol.SetInstructionBreakpointsResponse | undefined> {
if (this.capabilities.supportsDisassembleRequest) {
if (this.capabilities.supportsInstructionBreakpoints) {
return await this.send('setInstructionBreakpoints', args);
}