Debugging Perl : troubleshooting for programmers by Brown Martin C

Debugging Perl : troubleshooting for programmers by Brown Martin C

Author:Brown, Martin C
Language: eng
Format: epub
Tags: Debugging in computer science, Perl (Computer program language)
Publisher: Berkeley, Calif. ; London : Osborne
Published: 2001-06-14T16:00:00+00:00


Chapter 10: The Perl Debuggers 213

Prints a stack backtrace, as determined by the caller function and the value of the current stack frame array. See the section "Debugger Interface" later in this chapter for some examples.

S

S EXPR

s

Executes only the next statement (single step), following subroutine calls if necessary. If EXPR is supplied, it then executes EXPR once, descending into subroutine calls as necessary. This process can be used to drop directly into a subroutine outside of the normal execution process.

n EXPR n

Single-steps the next statement, but steps over the subroutines instead of stepping into them. If EXPR is specified, any subroutines are stepped into.

Carriage Return

Repeats the last n or s command. C

C LINE c SUB

c

Continues execution (all statements) until the next configured breakpoint of the end of the script. If LINE or SUB is specified, then a breakpoint, active for one break only, is inserted before LINE or the subroutine SUB.

I

1

Lists the next page of lines for the current script from the current line. 1 MIN+INCR

Lists INCR+1 lines from the line specified by MIN. 1 MIN-MAX



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.