Mercurial > cpython-lru_cache-weakref
diff Lib/idlelib/PyShell.py @ 29076:ad84fe58ec2f legacy-trunk
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
| author | Kurt B. Kaiser <kbk@shore.net> |
|---|---|
| date | Mon, 12 May 2003 02:33:47 +0000 |
| parents | 92ebd3daf507 |
| children | 32e70ad79f66 |
line wrap: on
line diff
--- a/Lib/idlelib/PyShell.py Sun May 11 20:28:02 2003 +0000 +++ b/Lib/idlelib/PyShell.py Mon May 12 02:33:47 2003 +0000 @@ -368,6 +368,7 @@ debug = self.getdebugger() if debug: try: + # Only close subprocess debugger, don't unregister gui_adap! RemoteDebugger.close_subprocess_debugger(self.rpcclt) except: pass @@ -387,6 +388,7 @@ console.text.mark_gravity("restart", "left") # restart subprocess debugger if debug: + # Restarted debugger connects to current instance of debug GUI gui = RemoteDebugger.restart_subprocess_debugger(self.rpcclt) # reload remote debugger breakpoints for all PyShellEditWindows debug.load_breakpoints()
