Администрирование локальных сетейРефераты >> Программирование и компьютеры >> Администрирование локальных сетей
help this description; source view source;
list list various items; trace trace stack or proc(s);
locations location syntax; variables variable syntax.
Process control:
r [arguments] Run child process with arguments.
R Run child process with no arguments.
c [location] Continue from breakpoint with no signal, set temporary breakpoint at location.
C [location] Continue with current signal, set temporary breakpoint at location.
s [number] Single step, follow procedure calls.
S [number] Single step, step over procedure calls.
g (line | #label) Go to line in current procedure.
g (+|-) [lines] Go forward/back 1 or given number of lines.
k Kill child process, if any.
Setting breakpoints:
b [location] [\count] [commands] Set breakpoint.
ba [address] [\count] [commands] Set breakpoint at code address.
bb [depth] [\count] [commands] Set breakpoint at procedure beginning.
bi expr.proc [\count] [commands] Set an instance breakpoint.
bi [-c|-C] expr [commands] Set an instance breakpoint.
bp [commands] Set procedure breakpoints.
bpc [-c|-C] class [commands] Set a class breakpoint.
bpo [[class]::]proc [commands] Set breakpoints on overloaded functions.
bpt [commands] Set procedure trace breakpoints.
bpx [commands] Set procedure exit breakpoints.
bt [(depth | proc)] [\count] [commands] Trace procedure.
bu [depth] [\count] [commands] Set up-level breakpoint.
bx [depth] [\count] [commands] Set breakpoint at procedure exit.
bpg [commands] Set paragraph breakpoints. (MPE-only)
tpg [commands] Set paragraph trace breakpoints. (MPE-only)
txc Toggle the exception stop-on-catch state.
txt Toggle the exception stop-on-throw state.
View and modify breakpoint status:
lb List all breakpoints.
lx List exception stop-on-throw and -catch state.
db [number | *] Delete one or all breakpoints.
dp Delete procedure breakpoints.
Dpx Delete procedure exit breakpoints.
Dpt Delete procedure trace breakpoints.
dpg Delete paragraph [trace] breakpoints.(MPE-only)
ab [number | *] Activate one or all breakpoints.
sb [number | *] Suspend one or all breakpoints.
tb Toggle overall breakpoints state.
abc commands Global breakpoint commands.
dbc Delete global breakpoint commands.
bc number expr Set a breakpoint count.
xcc commands Define the stop-on-catch command-list.
xtc commands Define the stop-on-throw command-list.
i expr {commands} [{commands}] Conditionally execute commands. (Also: if)
{ } Group commands.
; Separate commands.
Q Quiet breakpoint reporting.
"any string" Print string.
Source viewing:
L Show current location and its source line.
v [location] View source at location in source window.
va [address] View address in disassembly window.
V [depth] View procedure at depth in source window.
top View procedure at top of stack.
up [number] View procedure number levels higher in stack.
down [number] View procedure number levels lower in stack.
+[number] Move forward in sourcefile.
-[number] Move backward in sourcefile.
/[string] Search forwards in sourcefile for string.
?[string] Search backwards for string.
n Repeat previous search.
N Repeat previous search in opposite direction.
apm old_path [new_path] Add (prefix) path map for source files.
dpm [index | *] Delete path map(s) for source files.
lpm List path maps in order of precedence.
D "dir" Add a directory search path for source files.
ld List all directories.
lf [string] List all (or matching) files.
lsl List all shared libraries.
lp [[class]::][string] List all (or matching) procedures.
lo [[class]::][string] List all (or matching) overloaded functions.
lcl [string] List all (or matching) classes.
lct [string] List all (or matching) class templates.
ltf [string] List all (or matching) function expansions.
lft [string] List all (or matching) function templates.
View and modify data:
p expr [\format] Print value of expression using format.
p expr?format Print address of expression using format.
p -[\format] Print value of prev memory location using format.
p +[\format] Print value of next memory location using format.
p class:: Print static members of class.
l [[class]::][proc[:depth]] List all parameters and locals of proc.
t [depth] Trace stack.
T [depth] Trace stack and show local variables.
tst Toggle stub visibility. (PA-RISC only)
lr [string] List all (or matching) registers.
lc [string] List all (or matching) commons. (PA-RISC only)
lg [string] List all (or matching) globals.
ls [string] List all (or matching) special variables.
mm [string] Show memory-map of all (or matching) loaded shared -libraries.
f ["printf-style-format"] Set address printing format.
disp item [\format] Display Cobol data item value using format.(MPE-only)
move val to item Move value "val" to cobol data item "item" (MPE-only)
pq <<same as p>> Print quietly. Evaluate without printing.
ll [string] List all (or matching) labels.
lz List all signals.
z [number] [i][r][s][Q] Toggle flags (ignore, report, stop, Quiet) for signal.
Screen modes:
am Activate more (turn on pagination).
sm Suspend more (turn off pagination).
w number Set size of source window.
td Toggle disassembly mode.
ts Toggle split-screen mode.
fr Display floating point registers.
gr Display general registers.
tf Toggle float register display precision (PA-RISC only).
sr Display special registers. (PA-RISC only)
u Update screen.
U Refresh source & location windows on screen.
+r Scroll floating point registers forward.
-r Scroll floating point registers backward.
Assertions:
a commands Create a new assertion with a command list.
aa (number | *) Activate one or all assertions.
da (number | *) Delete one or all assertions.
la List all assertions.
sa (number | *) Suspend one or all assertions.
ta Toggle overall assertions state.
x [expr] Exit assertion mode, possibly aborting the assertion command list.
Macros:
def name [replacement-text] Define a macro name.
lm [string] List all (or matching) macros.
tm Toggle the macro substitution mechanism.
undef (name | *) Remove the macro definition for name or all.
Record and playback:
tr [@] Toggle the record [record-all] mechanism.
< file Playback from file.
<< file Playback from file with single stepping.
> file Record commands to file.
>> file Append commands to file.
>@ file Record-all debugger commands & output to file.
>>@ file Append all debugger commands & output to file.