Community
    • Login

    Interactive debugging scripts using PythonScript plugin

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 666 Views
    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
      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
        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
          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
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors