Summary
In this tutorial, you've looked at the methods available for debugging Perl scripts. You started by looking at the methods used in traditional Perl development environments. In general, these involve the use of either the print() function and monitoring the output or the use of the standard debugger provided with Perl. Both methods have limitations.
Using EPIC, the Perl development environment plug-in for Eclipse, you can debug Perl scripts and Perl CGI applications. You gain all of the functionality you might expect in a debugger, including step-by-step processing, variable monitoring and the ability to set breakpoints and monitor the execution of the script. You can also debug CGI scripts through Eclipse/EPIC through a proxy functionality that runs the scripts in Eclipse while providing the output from the script direct to a Web browser, including the built-in Web browser provided within Eclipse. Finally, you can also debug regular expressions, within a script and on an ad-hoc basis during development.
You can see from the functionality provided by EPIC detailed in this tutorial, and from the functionality you examined in the "Build Perl applications with Eclipse" tutorial, that the plug-in provides a complete environment for developing and testing Perl applications from within Eclipse.



