annotate src/cli/ddbg_help.txt @ 5:496dfd8f7342 default tip

added: -repeat option for "in", "ov" -run until a line option -run until a function option -break on a function start -n is an alias for ov
author marton@basel.hu
date Sun, 17 Apr 2011 11:05:31 +0200
parents 4a9dcbd9e54f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
1 Running
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
2 -----------------------------------------------------------------------------
5
marton@basel.hu
parents: 1
diff changeset
3 in [repeat] step into at source level
marton@basel.hu
parents: 1
diff changeset
4 optionally step into repeat times
marton@basel.hu
parents: 1
diff changeset
5 ov/n [repeat] step over at source level
marton@basel.hu
parents: 1
diff changeset
6 optionally step over repeat times
1
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
7 out step out at source level
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
8 r run/continue the program
5
marton@basel.hu
parents: 1
diff changeset
9 r <file>:<line>[#<thrd>] run until location
marton@basel.hu
parents: 1
diff changeset
10 optionally only for the given thread id
marton@basel.hu
parents: 1
diff changeset
11 rf funcname[#<thrd>] run until the given function
marton@basel.hu
parents: 1
diff changeset
12 optionally only for the given thread id
1
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
13 Breakpoints
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
14 -----------------------------------------------------------------------------
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
15 bp [<file>:<line>[#<thrd>]] [ind] set breakpoint #index at given file:line
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
16 optionally only for the given thread id
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
17 optionally with the given breakpoint index
5
marton@basel.hu
parents: 1
diff changeset
18 bpf funcname[#<thrd>] [ind] set breakpoint for given (substring)function name
marton@basel.hu
parents: 1
diff changeset
19 optionally only for the given thread id
marton@basel.hu
parents: 1
diff changeset
20 optionally with the given breakpoint index
1
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
21 dbp [<file>:<line>|#index|*] delete breakpoint by index, line or all
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
22 lbp list breakpoints
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
23 ltbp list temporary breakpoints
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
24 Stack/Memory/Registers
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
25 -----------------------------------------------------------------------------
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
26 dm <start> <length> dump memory (start in hex, length in dec)
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
27 dr [cpu] [fpu] [mmx] [sse] dump registers [toggle register groups]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
28 ds dump stack (last line is top)
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
29 lsv list variables in current scope
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
30 mi [free] [rsrv] memory information. lists blocks in state
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
31 commit and optionally free and reserve
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
32 us unwind stack, prints full stacktrace
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
33 Expressions
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
34 -----------------------------------------------------------------------------
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
35 = <expr> evaluate expression
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
36 ed <depth> set max depth of implicit evaluation of
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
37 recursive structures
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
38 el <length> set max number of array elements to print
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
39 er toggle between ed 0 and previous ed
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
40 f <number> select frame for evaluation.
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
41 default: current frame = 0
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
42 t <expression> type of expression
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
43 Source
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
44 -----------------------------------------------------------------------------
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
45 jkf toggle whether to switch to stack frame of
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
46 last known source location on exception
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
47 lsm [substring] list source modules
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
48 lsp list source search paths
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
49 ps [count] print count lines of source before
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
50 and after current location
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
51 sp <path> add source search path
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
52 Disassembly
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
53 -----------------------------------------------------------------------------
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
54 da [start] disassemble from start
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
55 (default = function start) to next ret
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
56 dal [#lines] disassemble to/from +/- source lines
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
57 Threads
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
58 -----------------------------------------------------------------------------
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
59 lt list threads
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
60 st <threadId> select thread to be evaluation context
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
61 Minidumps
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
62 -----------------------------------------------------------------------------
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
63 rmd <file> read minidump from file
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
64 wmd <file> write minidump to file
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
65 Miscellaneous
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
66 -----------------------------------------------------------------------------
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
67 arg <args> set command line arguments
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
68 ii print image information
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
69 ldll list loaded DLLs
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
70 lm [substring] list debug modules
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
71 ld [substring] list data symbols
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
72 lf [substring] list function symbols
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
73 lg [substring] list global symbols
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
74 lp [substring] list global publics
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
75 ls [substring] list all symbols
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
76 nc toggle new console for process
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
77 onex <cmd; cmd; ...> on exception execute list of commands
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
78 onterm <cmd; cmd; ...> on termination execute list of commands
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
79 q quit debugger
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
80
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
81 return repeats the last command