Community
    • Login

    Interactive debugging scripts using PythonScript plugin

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 1.0k Views 1 Watching
    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.
    • Stefano OrlandoS Offline
      Stefano Orlando
      last edited by

      How can I do interactive debugging of python scripts using PythonScript plugin?

      Mark OlsonM 1 Reply Last reply Reply Quote 0
      • Mark OlsonM Offline
        Mark Olson @Stefano Orlando
        last edited by

        @Stefano-Orlando
        PythonScript doesn’t offer any special faculty for interactive debugging; you just have to use whatever faculties are built into the Python library, like logging and good old-fashioned print statements.

        Stefano OrlandoS 1 Reply Last reply Reply Quote 1
        • Stefano OrlandoS Offline
          Stefano Orlando @Mark Olson
          last edited by

          @Mark-Olson I already knew that I could use print and other passive mechanisms like logging. I tried with pdb and the script seems to get on break, an error message missing stdin is displayed on the console but I can’t find a way to enter commands for pdb

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors