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