[techtalk] Perl debugger advice needed

Anmol Khirbat anmol at teknema.com
Fri Jul 7 10:33:32 EST 2000


On Fri, 7 Jul 2000, Lynn Kuhlman wrote:

> How can you go to a particular line in a program and execute it and the
> following lines? I want to jump over a loop and examine the contents of
> the hash table and then move on. 

At the debugger prompt type 'b line-no' where line-no is the number of
some line after the loop. Type c to run your script and stop at line-no.
When you are through, type c again to move on.

If you like a debugger with a GUI try ddd
http://www.gnu.org/software/ddd/ddd.html

bye
Anmol






More information about the Techtalk mailing list