omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    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?

    Pythonista
    4
    6
    1685
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DedicatedTiger
      DedicatedTiger last edited by

      Just an idea about adding a feature to visualize execution of each line of a script from the app. :)

      mikael 1 Reply Last reply Reply Quote 0
      • mikael
        mikael @DedicatedTiger last edited by

        @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.

        1 Reply Last reply Reply Quote 0
        • ccc
          ccc last edited by

          Maybe a slider (or buttons) to increase / decrease the inter-command delay so us humans could follow along.

          DedicatedTiger 1 Reply Last reply Reply Quote 1
          • DedicatedTiger
            DedicatedTiger @ccc last edited by

            @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 :)

            mikael 1 Reply Last reply Reply Quote 0
            • mikael
              mikael @DedicatedTiger last edited by

              @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?

              1 Reply Last reply Reply Quote 0
              • zihip
                zihip last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Powered by NodeBB Forums | Contributors