mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Polish RemoteDebugger code.
Use a repr() on the subprocess side when fetching dict values for stack. The various dict entities are not needed by the debugger GUI, only their representation.
This commit is contained in:
parent
0444302710
commit
0e3a57731b
6 changed files with 69 additions and 46 deletions
|
@ -30,9 +30,9 @@ class Executive:
|
|||
def runcode(self, code):
|
||||
exec code in self.locals
|
||||
|
||||
def start_debugger(self, gui_oid):
|
||||
def start_the_debugger(self, gui_adap_oid):
|
||||
import RemoteDebugger
|
||||
return RemoteDebugger.start_debugger(self.conn, gui_oid)
|
||||
return RemoteDebugger.start_debugger(self.conn, gui_adap_oid)
|
||||
|
||||
def stackviewer(self, flist_oid=None):
|
||||
if not hasattr(sys, "last_traceback"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue