diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/cli/ddbg_help.txt	Tue Apr 05 20:44:01 2011 +0200
@@ -0,0 +1,72 @@
+                Running
+-----------------------------------------------------------------------------
+in                                 step into at source level
+ov                                 step over at source level
+out                                step out at source level
+r                                  run/continue the program
+                Breakpoints
+-----------------------------------------------------------------------------
+bp [<file>:<line>[#<thrd>]] [ind]  set breakpoint #index at given file:line
+                                   optionally only for the given thread id
+                                   optionally with the given breakpoint index
+dbp [<file>:<line>|#index|*]       delete breakpoint by index, line or all
+lbp                                list breakpoints
+ltbp                               list temporary breakpoints
+                Stack/Memory/Registers
+-----------------------------------------------------------------------------
+dm <start> <length>                dump memory (start in hex, length in dec)
+dr [cpu] [fpu] [mmx] [sse]         dump registers [toggle register groups]
+ds                                 dump stack (last line is top)
+lsv                                list variables in current scope
+mi [free] [rsrv]                   memory information. lists blocks in state
+                                   commit and optionally free and reserve
+us                                 unwind stack, prints full stacktrace
+                Expressions
+-----------------------------------------------------------------------------
+= <expr>                           evaluate expression
+ed <depth>                         set max depth of implicit evaluation of
+                                   recursive structures
+el <length>                        set max number of array elements to print
+er                                 toggle between ed 0 and previous ed
+f <number>                         select frame for evaluation.
+                                   default: current frame = 0
+t <expression>                     type of expression
+                Source
+-----------------------------------------------------------------------------
+jkf                                toggle whether to switch to stack frame of
+                                   last known source location on exception
+lsm [substring]                    list source modules
+lsp                                list source search paths
+ps [count]                         print count lines of source before
+                                   and after current location
+sp <path>                          add source search path
+                Disassembly
+-----------------------------------------------------------------------------
+da [start]                         disassemble from start
+                                   (default = function start) to next ret
+dal [#lines]                       disassemble to/from +/- source lines
+                Threads
+-----------------------------------------------------------------------------
+lt                                 list threads
+st <threadId>                      select thread to be evaluation context
+                Minidumps
+-----------------------------------------------------------------------------
+rmd <file>                         read minidump from file
+wmd <file>                         write minidump to file
+                Miscellaneous
+-----------------------------------------------------------------------------
+arg <args>                         set command line arguments
+ii                                 print image information
+ldll                               list loaded DLLs
+lm [substring]                     list debug modules
+ld [substring]                     list data symbols
+lf [substring]                     list function symbols
+lg [substring]                     list global symbols
+lp [substring]                     list global publics
+ls [substring]                     list all symbols
+nc                                 toggle new console for process
+onex <cmd; cmd; ...>               on exception execute list of commands
+onterm <cmd; cmd; ...>             on termination execute list of commands
+q                                  quit debugger
+
+return repeats the last command