2 ''' $Header: perldb.man,v 2.0 88/06/05 00:09:50 root Exp $
4 ''' $Log: perldb.man,v $
5 ''' Revision 2.0 88/06/05 00:09:50 root
6 ''' Baseline version 2.0.
27 ''' Set up \*(-- to give an unbreakable dash;
28 ''' string Tr holds user defined translation string.
29 ''' Bell System Logo is used as a dummy character.
34 .if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
35 .if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
51 perldb - Perl Debugger
53 .B perldb [-o output] perlscript arguments
56 is a symbolic debugger for
59 Run your script just as you normally would, only prepend \*(L"perldb\*(R" to
61 (On systems where #! doesn't work, put any perl switches into the #! line
62 anyway\*(--perldb will pass them off to perl when it runs the script.)
63 Perldb copies your script to a temporary file, instrumenting it in the process
64 and adding a debugging monitor.
65 It then executes the instrumented script for
66 you and stops at the first statement so you can set any breakpoints or actions
69 There is only one switch: \-o, which tells perldb to put its temporary file
70 in the filename you specify, and to refrain from deleting the file.
71 Use this switch if you intend to rerun the instrumented script, or want to
72 look at it for some reason.
74 These are the debugging commands:
77 Subsequent carriage returns will single step.
80 Turns off single step mode and runs till the next break point.
81 Subsequent carriage returns will continue.
85 List lines in the indicated range.
89 List the whole program.
94 Trace mode causes lines to be printed out as they are executed.
96 Set breakpoint at indicated line.
98 Delete breakpoint at indicated line.
100 Delete breakpoint at this line.
101 .Ip "a line command" 8
102 Set an action for indicated line.
103 The command must be a valid perl command, except that a missing trailing ;
108 Execute command as a perl statement.
109 A missing trailing ; will be supplied if necessary.
111 No environment variables are used by perldb.
113 Larry Wall <lwall@jpl-devvax.Jpl.Nasa.Gov>
115 /tmp/pdb$$ temporary file for instrumented script