Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Visualizer?
-
Just an idea about adding a feature to visualize execution of each line of a script from the app. :)
-
@DedicatedTiger, interesting idea. What would you imagine seeing on screen? One half executing something, the other showing lines as they are executed?
For most cases, this would probably be a useless blur, so would need to use debugging, manually or slowly stepping through code.
-
Maybe a slider (or buttons) to increase / decrease the inter-command delay so us humans could follow along.
-
@ccc said:
Maybe a slider (or buttons) to increase / decrease the inter-command delay so us humans could follow along.
Yes very similar to Pythontutor website’s visualizer, but on the app :)
-
@DedicatedTiger, for ”print-based” apps, you can of course use the debugger, pdb.
For UI-driven apps this becomes a bit more challenging, especially on small phone screens.
I guess we can stdin/out from pdb, then use it to control the code execution in the background, but where to display it? @JonB’s work on overlays is an option, but would a semitransparent display of code be anything but confusing?
-
This post is deleted!