mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
1. RemoteDebugger now runs user code in subprocess MainThread
2. run.py: move exception printing to toplevel to allow access from main() 3. Clarification in PyShell.py: when the subprocess is restarted, the debugger GUI is reused with a fresh instance of the subprocess debugger. M PyShell.py M RemoteDebugger.py M run.py
This commit is contained in:
parent
8f51526837
commit
9ec454ec00
3 changed files with 61 additions and 54 deletions
|
@ -300,7 +300,7 @@ class IdbProxy:
|
|||
|
||||
def run(self, cmd, locals):
|
||||
# Ignores locals on purpose!
|
||||
seq = self.conn.asynccall(self.oid, "run", (cmd,), {})
|
||||
seq = self.conn.asyncqueue(self.oid, "run", (cmd,), {})
|
||||
self.shell.interp.active_seq = seq
|
||||
|
||||
def get_stack(self, frame, tbid):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue