Skip to content

Commit c93e595

Browse files
authored
Merge pull request #855 from samisalreadytaken/InstructionBreakpoints
Check capabilities before sending instruction breakpoints
2 parents f90bc8a + ffc646d commit c93e595

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

python3/vimspector/breakpoints.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,8 @@ def response_handler( conn, msg, bp_idxs = [] ):
959959
failure_handler = response_received
960960
)
961961

962-
if self._disassembly_manager:
962+
if self._disassembly_manager and self._server_capabilities.get(
963+
'supportsInstructionBreakpoints' ):
963964
for connection in self._connections:
964965
breakpoints = []
965966
bp_idxs = []

0 commit comments

Comments
 (0)