[issue25146] IDLE debugger could better visualize program execution

2020-06-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue25146] IDLE debugger could better visualize program execution

2015-09-20 Thread Mark Roseman
Mark Roseman added the comment: Frighteningly, your wild idea is close to how it actually works now, as per the ASCII art at the top of RemoteDebugger.py. :-) The authors of RemoteDebugger and rpc.py went to fantastic lengths to make this transparent so that everything looks local. If in my p

[issue25146] IDLE debugger could better visualize program execution

2015-09-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I had a wild idea, possible a result of too much ignorance. Run the main debugger in the user process, with a separate root and event loop. Add to the communication protocol options to send a list of breakpoints and modules to be traced into and to send (mod

[issue25146] IDLE debugger could better visualize program execution

2015-09-19 Thread Mark Roseman
Mark Roseman added the comment: Ok, I lied. The program runs through start to finish regardless, and all the 'stopping' and breakpoints is really just very selectively deciding which subset of execution tracing events to pass back to the debugger. So you really do need to 'block' in those call

[issue25146] IDLE debugger could better visualize program execution

2015-09-19 Thread Mark Roseman
Mark Roseman added the comment: Regarding the nested loops, what's happening is: - IDLE tells interpreter to run program - Interpreter now has control and is running program, start to end - Because execution is being traced, before every statement we get a callback If we didn't use the nested lo

[issue25146] IDLE debugger could better visualize program execution

2015-09-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree that without breakpoints set, Go is currently useless. I believe that you are proposing that it become a 'Start slide show' button, where a 'slide' is the execution of one statement. I really like this idea. Like music or dance notation, a programs is

[issue25146] IDLE debugger could better visualize program execution

2015-09-16 Thread Mark Roseman
New submission from Mark Roseman: (This touches a bit on things mentioned in #14111) I'm looking through the debugger code in IDLE, and now understand that it's essentially trying to make a GUI program act like a command line program. Hence the nested call to mainloop(), when we receive a trac