![]() Warning: Please ensure you copy the entire dbgp/perllib sub-directory and leave it intact. Note: Do not copy to the standard “lib” directory of the Perl installation on the remote machine, as this will overwrite the standard file. ![]() ActivePerl and most other distributions of Perl (version 5.6 or greater) will work.Ĭopy Komodo’s perl debugger and its associated libraries to the remote machine by copying the entire dbgp/perllib sub-directory of the Komodo installation to the new machine, or download a package from the Komodo Remote Debugging page. Perl remote debugging works on any system that can run the version of distributed with Komodo. stepping and breakpoints) once the session starts on the remote system. Komodo controls the debugging session (e.g. When debugging a Perl program remotely, the program is executed on the remote system and the debug output is sent to Komodo. This can be done in Komodo’s Environment preferences ( Edit > Preferences > Environment). To enable Break Now, include the setting async=1 in the PERLDB_OPTS environment variable. LWP and WWW::Mechanize) are not compatible with asynchronous breaking. Running the comand perl -d will start a debugging session in Komodo.īy default, the Break Now function is disabled for Perl debugging because some programs and modules (e.g. To do this, configure the environment variables described in Debugging Perl Remotely on your local machine using localhost as the hostname. You may wish to use the Komodo debugger when working at the command line instead of using perl’s built-in debugger. Starting a Komodo debugging session with perl -d See Debugging your programs for full instructions on using Komodo’s debugging functionality. On the Debug menu or Debug Toolbar, click Go/Continue or Step In to invoke the debugging session. If the preferred interpreter is in this list, click to select it.Komodo searches for Perl interpreters on your system and displays them in the drop-down list. In the Preferences dialog box under Languages, click Perl.To specify which Perl interpreter Komodo uses to debug and run Perl programs: For a summary of debugger commands, see the Debugger Command List. For general information about using the Komodo debugger, see Debugging your programs.ĭebugger commands can be accessed from the Debug menu, by shortcut keys, or from the Debug Toolbar. The instructions below describe how to configure Komodo and Perl for debugging. Komodo can debug Perl programs locally or remotely, including debugging in CGI and mod_perl environments.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |