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

Method open_remote_stack_viewer

Lib/idlelib/pyshell.py:623–634  ·  view source on GitHub ↗

Initiate the remote stack viewer from a separate thread. This method is called from the subprocess, and by returning from this method we allow the subprocess to unblock. After a bit the shell requests the subprocess to open the remote stack viewer which returns a st

(self)

Source from the content-addressed store, hash-verified

621 return self.debugger
622
623 def open_remote_stack_viewer(self):
624 """Initiate the remote stack viewer from a separate thread.
625
626 This method is called from the subprocess, and by returning from this
627 method we allow the subprocess to unblock. After a bit the shell
628 requests the subprocess to open the remote stack viewer which returns a
629 static object looking at the last exception. It is queried through
630 the RPC mechanism.
631
632 """
633 self.tkconsole.text.after(300, self.remote_stack_viewer)
634 return
635
636 def remote_stack_viewer(self):
637 from idlelib import debugobj_r

Callers 1

runcodeMethod · 0.80

Calls 1

afterMethod · 0.80

Tested by

no test coverage detected