HP-UX SYMBOLIC DEBUGGER QUICK REFERENCE COMMANDS a commands Create new assertion with command list. expr a (a | d | s) Activate, delete, or suspend assertion. A Toggle overall assertions state. [line] b [commands] Set breakpoint (at line, with commands). address ba [commands] Set breakpoint at address. [depth] bb [commands] Set breakpoint at procedure beginning. bp [commands] Set breakpoints at beginning of all procedures. [depth] bt [proc] [commands] Trace current procedure (or proc). [depth] bu [commands] Set up-level breakpoint. [depth] bx [commands] Set breakpoint at procedure exit. B List all breakpoints. [count] c [line] Continue with no signal (and set current breakpoint count, and set new breakpoint at line). [count] C [line] Continue with current signal. [expr] d Delete breakpoint. dir "directory" Add alternate source directory. D a Delete all assertions. D [b] Delete all breakpoints. D p Delete all procedure breakpoints. e Print current file, procedure and line. e (file | proc) Enter (view) file or procedure. [depth] E Enter (view) procedure at stack depth. f ["printf-style-format"] Set address printing format (to default). F Find and fix bug. g line Go to line in current procedure. h or help Print this command summary. if [expr] {commands}[{commands}] Conditionally execute commands. I Inquire (print) debugger status. k Terminate child process, if any. l [proc[.depth]] List all parameters and locals of current procedure (or of proc.[depth]). l (a | b | d | z) List all assertions, breakpoints, directories, or signals. l (f | g | l | p | r | s) [string] List all (or matching) files, globals, labels, procedures, registers, or special variables. L Synonym for "0E". M Show current address maps. M (t | c) [expr; [expr...]] Set text or core address maps. n Repeat previous "/" or ?". N Repeat previous "/" or ?" in opposite direction. line Print one source line. [line] p [count] Print one or more source lines. Q Quiet breakpoint reporting. q Quit debugger. r [arguments] Run child process (with arguments). R Run child process with no arguments. [count] s Single step, follow procedure calls. [count] S Single step, step over procedure calls. [depth] t Trace stack (to depth). [depth] T Trace stack and show local variables. [line] w [size] Print window (default 11 lines) around current line (or line). [line] W [size] Same as "w", but size defaults to 21 lines. +w [size] Print next window. +W [size] Print next window. -w [size] Print previous window. -W [size] Print previous window. [flag] x Exit assertion mode (but save command line). [signal] z [i][r][s][Q] Toggle flags (ignore, report, stop, Quiet) for signal. Z Toggle case sensitivity in searches. Repeat previous command once. ~ Repeat previous command once. ^D Repeat previous command ten times. expr Print value of expression using "/n" format. expr/format Print value of expression using format. expr?format Print address of expression using format. ^[[/]format] Print value of prior memory location using current format (or format). "any string" Print string. +[lines] Move forward in sourcefile. -[lines] Move backward in sourcefile. /[string] Search forward in sourcefile for current string (or string). ?[string] Search backward (for string). >file Record commands to file (overwrite). >>file Record commands to file (append). >@file Record all debugger output to file (overwrite). >>@file Record all debugger output to file (append). >(t | f | c) Turn recording on or off, or close recording file. ">>" also works. >@(t | f | c) Turn record-all on or off, or close record-all file. ">>@" also works. > or >> Tell current recording status. >@ or >>@ Tell current record-all status.