|
|
Task | dbx cmd | debug equiv |
---|---|---|
Breakpoints | ||
setting | b, break, bp | stop |
clearing | d, del | delete |
showing | status, st | events |
temp disable | dis | disable |
reenable | en | enable |
Single stepping | ||
into fns | s, step | step, s |
over fns | n,next | step -o, n, next |
Running | run, r | run [-f] |
rerunning process | rerun, rr | create [-f none]; run none |
Continuing | c, cont | run [-f] |
Viewing | ||
print variables | print, p | |
dump memory | mem, print | dump locn |
stack trace | where | stack [-c count] |
These are perhaps less commonly used but usually still available in some form:
Task | debug equiv |
---|---|
Current Stack frame |
modify %frame system variable:
alias down set %frame = %frame - 1; list -c 1 alias up set %frame = %frame + 1; list -c 1 |
Setting variables | set v[=]value |
Source | |
Specifying where the source files are |
%global_path - all processes
%path - for a single process (set -p <proc> %path whatever - after process is running) |
Changing srcFile to Browse | set %list_file filename |
Execution | |
run to return fm current fn | run -r |
execute from an address | jump loc |
run upto address | run -u loc |
Rerun current process | create [-f none]; run [-f] |
Viewing/changing argv list | have to rerun and specify a new command line |
Enabling command line editing |
set %mode vi
set %mode emacs emacs mode deficient - no handling arrow keys; occasional dropout |
Displaying paged output |
(help) must pipe through pager:
... | more |
Watchpoints | not provided, but buildable with onstop command |