- Debugger Command Examples
Commenting # This line does nothing. It is a comment and is useful # in debugger command files. # any amount of leading space is also ok
The following runs two commands:
info program and
info program;; list
The following gives a syntax error since
;; splits the line and the simple debugger parse then thinks that the quote (") is not closed.
print "hi ;;-)\n"
If you have the Devel::Trepan::Shell plugin, you can go into a real shell and run the above.
If you want to continue a command on the next line use
\ at the end of the line. For example:
eval $x = "This is \ a multi-line string"
The string in variable
$x will have a
\n before the article "a".