comparison src/cli/ddbg_help.txt @ 1:4a9dcbd9e54f

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