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

Method __init__

Lib/idlelib/debugger.py:99–115  ·  view source on GitHub ↗

Instantiate and draw a debugger window. :param pyshell: An instance of the PyShell Window :type pyshell: :class:`idlelib.pyshell.PyShell` :param idb: An instance of the IDLE debugger (optional) :type idb: :class:`idlelib.debugger.Idb`

(self, pyshell, idb=None)

Source from the content-addressed store, hash-verified

97 globalsviewer = None
98
99 def __init__(self, pyshell, idb=None):
100 """Instantiate and draw a debugger window.
101
102 :param pyshell: An instance of the PyShell Window
103 :type pyshell: :class:`idlelib.pyshell.PyShell`
104
105 :param idb: An instance of the IDLE debugger (optional)
106 :type idb: :class:`idlelib.debugger.Idb`
107 """
108 if idb is None:
109 idb = Idb(self)
110 self.pyshell = pyshell
111 self.idb = idb # If passed, a proxy of remote instance.
112 self.frame = None
113 self.make_gui()
114 self.interacting = False
115 self.nesting_level = 0
116
117 def run(self, *args):
118 """Run the debugger."""

Callers

nothing calls this directly

Calls 2

make_guiMethod · 0.95
IdbClass · 0.85

Tested by

no test coverage detected