[issue24818] no way to run program in debugger from edit window
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 rep...@bugs.python.org http://bugs.python.org/issue24818 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24818] no way to run program in debugger from edit window
New submission from Mark Roseman: If I have just an edit window open with my program, there's no way to run the program with the debugger visible. Should be a way to do so without going through the extra steps of opening up a shell window first -- components: IDLE messages: 248175 nosy: kbk, markroseman, roger.serwy, terry.reedy priority: normal severity: normal status: open title: no way to run program in debugger from edit window type: enhancement versions: Python 2.7, Python 3.5, Python 3.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24818 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com