MCPcopy Create free account
hub / github.com/microsoft/debugpy / make_breakpoint

Method make_breakpoint

tests/debug/session.py:829–837  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

827 lines = get_marked_line_numbers().keys()
828
829 def make_breakpoint(line):
830 if isinstance(line, int):
831 descr = str(line)
832 else:
833 marker = line
834 line = get_marked_line_numbers()[marker]
835 descr = f"{line} (@{marker})"
836 bp_log.append((line, descr))
837 return {"line": line}
838
839 bp_log = []
840 breakpoints = self.request(

Callers

nothing calls this directly

Calls 2

get_marked_line_numbersFunction · 0.85
appendMethod · 0.45

Tested by

no test coverage detected