Debugging perl

Peter Buck
2007-08-29
2012-11-13
  • Peter Buck
    Peter Buck
    2007-08-29

    Clicking to the left of a line turns on what looks like a breakpoint - which implies debugging.  Does N++ do debugging?  If so, where can I read about it?

    If not, what's that thing that looks like a breakpoint?

     
    • I see the header of this message also has a background color.
      Does this site support debugging?

       
    • There is a native debugger plugin for Notepad++ available. It supports currently PHP. Ask the developer to extend the plugin for perl or ask how to do it.

      Otherwise the "breakpoints" are bookmarks. Here you can remember positions or mark line with the Find dialog.

      Best Regards
      Jens

       
      • Peter Buck
        Peter Buck
        2007-08-30

        Thanks for the info, Jens.  I didn't see the PHP debugger plugin in the plugin list at http://notepad-plus.sourceforge.net/uk/download.php.  Please tell me where to find the plugin and I will see what I can do about getting it extended to debug perl as well.  Thanks again - Peter

         
        • Damjan Cvetko
          Damjan Cvetko
          2007-08-31

          Hi...

          I'm the author of the DBGP plugin for N++. This is the plugins page: http://sourceforge.net/projects/npp-plugins/
          It's a separate project on the SF site where most plugins are hosted. It would be nice if a link to it could be put on the main Notepad++ site (*hint*)...

          To do remote debugging of a script you need a server side component (debugging engine) and a debugging client. The plugin is the client in this case. This plugin speaks the DBGP protocol. For debugging of PHP you have to install the (really great) XDebug php extension. I don't know where to find an extension for perl. I do know that it's a part of Komodo, I have not heard of other implementations. Here is some info, google for more: http://aspn.activestate.com/ASPN/docs/Komodo/4.1/komodo-doc-debugperl.html

          I'll warn you right away, it's not easy to set this thing up and I have little to none experience with PERL. I'm however keen on extending this plugin so it will work with perl, we'd need to do a lot of mailing though.

          Best regards..
          -Zobo

           
          • Don HO
            Don HO
            2007-08-31

            > It would be nice if a link to it could be put on the main Notepad++ site (*hint*)...

            Sure. I'll publish DBGP sourceforge link (npp-plugins) in Notepad++ download section this weekend.

            Don

             
            • Damjan Cvetko
              Damjan Cvetko
              2007-08-31

              Thanks...

              I was however thinking about adding a link to the "Notepad++ plugins" project page. As this example shows many don't even know it exists.

              Best regards.