MCPcopy Index your code
hub / github.com/python/cpython / load_breakpoints

Method load_breakpoints

Lib/idlelib/debugger.py:413–421  ·  view source on GitHub ↗

Load PyShellEditorWindow breakpoints into subprocess debugger.

(self)

Source from the content-addressed store, hash-verified

411 self.idb.clear_all_file_breaks(filename)
412
413 def load_breakpoints(self):
414 """Load PyShellEditorWindow breakpoints into subprocess debugger."""
415 for editwin in self.pyshell.flist.inversedict:
416 filename = editwin.io.filename
417 try:
418 for lineno in editwin.breakpoints:
419 self.set_breakpoint(filename, lineno)
420 except AttributeError:
421 continue
422
423
424class StackViewer(ScrolledList):

Callers 3

open_debuggerMethod · 0.95
restart_subprocessMethod · 0.80

Calls 1

set_breakpointMethod · 0.95

Tested by 1