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.


    Debugger?

    Pythonista
    5
    8
    4359
    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.
    • mr88cet
      mr88cet last edited by

      Question: Does Pythonista include a debugger? If so, I haven't managed to locate it yet, but then again, I'm pretty new to Python in general, and to Pythonista in particular.

      In particular, ways of setting breakpoints, seeing where in the code it's executing, single-stepping into vs. over method calls, viewing expressions, watchpoints on data change, and so forth?

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

        import pdb ; print(dir(pdb))
        
        Phuket2 mr88cet 2 Replies Last reply Reply Quote 1
        • Phuket2
          Phuket2 @ccc last edited by

          @ccc , your summer holiday project to create a ui :)

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

            Ah, OK, good deal, thanks!

            Also, just for the record:

             https://docs.python.org/2/library/pdb.html
            
            1 Reply Last reply Reply Quote 0
            • eric
              eric last edited by

              nice, I wasn't aware of the pdb module!

              mr88cet 1 Reply Last reply Reply Quote 0
              • mr88cet
                mr88cet @eric last edited by

                @eric said:

                nice, I wasn't aware of the pdb module!

                I suspect I'll be needing it. Never buy a pencil without an eraser!

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

                  import pdb; pdb.pm() i have it on speed dial!

                  1 Reply Last reply Reply Quote 1
                  • mr88cet
                    mr88cet @Phuket2 last edited by

                    @Phuket2 said:

                    @ccc , your summer holiday project to create a ui :)

                    That would indeed be wonderful!

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Powered by NodeBB Forums | Contributors