MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / consolidate_breakpoints

Method consolidate_breakpoints

pydevd.py:1876–1882  ·  view source on GitHub ↗
(self, canonical_normalized_filename, id_to_breakpoint, file_to_line_to_breakpoints)

Source from the content-addressed store, hash-verified

1874 pydev_log.exception("Error processing internal command.")
1875
1876 def consolidate_breakpoints(self, canonical_normalized_filename, id_to_breakpoint, file_to_line_to_breakpoints):
1877 break_dict = {}
1878 for _breakpoint_id, pybreakpoint in id_to_breakpoint.items():
1879 break_dict[pybreakpoint.line] = pybreakpoint
1880
1881 file_to_line_to_breakpoints[canonical_normalized_filename] = break_dict
1882 self._clear_caches()
1883
1884 def add_break_on_exception(
1885 self,

Callers 2

add_breakpointMethod · 0.80
remove_breakpointMethod · 0.80

Calls 2

_clear_cachesMethod · 0.95
itemsMethod · 0.80

Tested by

no test coverage detected