• Login
Community
  • Login

Interactive debugging scripts using PythonScript plugin

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
3 Posts 2 Posters 673 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.
  • S
    Stefano Orlando
    last edited by Mar 28, 2024, 7:02 PM

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

    M 1 Reply Last reply Mar 28, 2024, 8:26 PM Reply Quote 0
    • M
      Mark Olson @Stefano Orlando
      last edited by Mar 28, 2024, 8:26 PM

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

      S 1 Reply Last reply Mar 28, 2024, 8:48 PM Reply Quote 1
      • S
        Stefano Orlando @Mark Olson
        last edited by Mar 28, 2024, 8:48 PM

        @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
        3 out of 3
        • First post
          3/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors