Catálogo de publicaciones - libros

Compartir en
redes sociales


Pro Perl Debugging: From Professional to Expert

Richard Foley Andy Lester

Resumen/Descripción – provisto por la editorial

No disponible.

Palabras clave – provistas por la editorial

Software Engineering/Programming and Operating Systems

Disponibilidad
Institución detectada Año de publicación Navegá Descargá Solicitá
No detectada 2005 SpringerLink

Información

Tipo de recurso:

libros

ISBN impreso

978-1-59059-454-4

ISBN electrónico

978-1-4302-0044-4

Editor responsable

Springer Nature

País de edición

Reino Unido

Fecha de publicación

Información sobre derechos de publicación

© Apress 2005

Tabla de contenidos

Debugging Regular Expressions

Richard Foley; Andy Lester

This section has shown you how to use the regex debugging facilities built into Perl and the Perl debugger. You’ve learned how to view the usually voluminous output and how to interpret the data provided. There is a great deal of support here (usually overlooked by the average programmer) that we hope this chapter has clued you into.

For further ideas on debugging regexes in Perl check out the following perldoc references:

The next chapter offers an introduction to the customizing of the debugger, either by using the available commands and options, or by replacing the entire library itself.

Pp. 175-194

Debugger Customization

Richard Foley; Andy Lester

In this chapter you have learned how to customize the Perl debugger, from using the alias command to changing the depth of a hash dump using HashDepth. You also learned to modify the DB::DB subroutine and replace the entire PERL5DB debugger library itself.

In the next chapter, you will learn various approaches for optimizing your Perl program. You will read about several performance hints and tips, which could be useful to make your Perl program go faster.

Pp. 195-209

Optimization and Performance Hints and Tips

Richard Foley; Andy Lester

In this chapter you have learned various methods for finding out what exactly your code is doing, where it’s dragging its feet, and how to improve it’s response time.

You have learned how to benchmark and profile your code, and how to optimize and refactor it to improve the runtime. Finally, you learned how to inspect your code for strange or nonoptimal programming constructs, using the frontend O and backend B modules, which provide access to the Perl internals.

The next chapter offers a complete reference listing of all commands, options, and variables available within the Perl debugger, including both environment and internal debugger variables.

Pp. 211-230

Command Line and GUI Debuggers

Richard Foley; Andy Lester

In this chapter you have been presented with the wide variety of options available to you if you wish to use either a GUI debugger or IDE with an embedded debugger, instead of the standard command line debugger interface. There are many possibilities, and the one you should choose depends on the operating system you are running, your personal preferences for Tk solutions over Windows solutions, and how much money or time you wish to spend.

The next chapter offers a complete command reference for all commands, variables, and options supported by the debugger.

Pp. 231-237

Comprehensive Command Reference

Richard Foley; Andy Lester

This reference chapter has described every command, option and public DB:: variable provided by the Perl debugger. You will be able to use any of these tools to control your program’s execution, study its behavior, and inspect or change any data during the runtime of the program. Finally, you learned how to call the debugger in several different cases, depending on the context required.

Pp. 239-254

Book References and URLs

Richard Foley; Andy Lester

There are many other references available, though some online ones are more transient than others. If we haven’t included them here, it’s because we haven’t come across them ourselves yet, or felt that the books we mentioned in this chapter covered the ground sufficiently.

We would of course like to hear of any particularly good books, or permanent URLs, that we may have inadvertently overlooked. Please contact the authors or use the Perl debugger web site or mailing list.

Pp. 255-258