[issue24818] no way to run program in debugger from edit window

Terry J. Reedy report at bugs.python.org
Fri Aug 7 21:39:37 CEST 2015


Terry J. Reedy added the comment:

Agreed.  I believe Al's menu revision suggested moving Debugger to Run. Debugger has to hook into Shell because it has to see packets moving between Shell and the execution process. Opening the debugger window currently requires that Shell already be open. Running a file opens Shell.  So we need to rewrite Debugger to delay hooking into Shell unless Shell is present .. or until it is activated (by running a file).  I believe this could be done by having a .connect_to_shell method that can be called either from .__init__ or the activate method.

There are several worse problems with Debugger.  I think they need some consideration together, lest a patch for one issue interfere with a patch for another.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24818>
_______________________________________


More information about the Python-bugs-list mailing list