| | CDB |
-log{a|au|o|ou} LogFile | Log output to a log file | ✓ |
-2 | If target is a console application, it will run in a new console | ✓ |
-d | Pass control to kernel debugger | ✓ |
-ddefer | | ✓ |
-g | Ignore initial breakpoint in target application | ✓ |
-G | Ignore final breakpoint in target application. Same effect as command sxd epr . | ✓ |
-hd | Don't use debug heap | ✓ |
-lines | enable source line debugging. See also the .lines and l… commands. | ✓ |
-myob | continue even if version mismatch with dbghelp.dll is detected | ✓ |
-bonc | break into target as soon as session begins | ✓ |
-n | Load symbols noisily | ✓ |
-o | Also debug processes that are started by target | ✓ |
-s | Disables lazy symbol loading | ✓ |
-v | Verbose | ✓ |
-w | Debug 16-bit applications in a separated VDM. | ✓ |
-cf "filename" | path to a script file. Without -cf , ntds.ini , if present in current directory, is executed. | ✓ |
-cfr "filename" | similar to -cf but execute script when target is started or restarted. | ✓ |
-c "command" | Specify initial command. See also the $< , $>< , $$< , $$>< and $$>a< commands that execute the content of a script. | ✓ |
-wake PID | | ✓ |
-robp | | ✓ |
-r lvl | Only meaningful on checked builds of Windows (which were available until Windows 10, 1803). Set break error level. 0 = NONE, 1 = ERROR, 2 = ERROR + MINORERROR, 3 = WARNING, MINORERROR, and ERROR ERROR + MINORERROR. | ✓ |
-t lvl | Set error level that causes the debugger to display an error message | ✓ |
-x{e|d|n|i} exception | Set action for given exception (event). exception is either a exception number or an event code. | ✓ |
-x | Disable first chance break on access violation exceptions. Same as -xd av . | ✓ |
-clines lines | Set approximate number of commands in command history which can be accessed during remote debugging | ✓ |
-i imagePath | Location of image that generated the fault. | ✓ |
-iae | Install CDB as post mortem debugger. Can only be used as sole parameter and does not start CDB. | ✓ |
-iaec keyString | Install CDB as post mortem debugger and sets keyString to the end of the HKLM\Software\Microsoft\Windows NT\CurrentVersionAeDebug registry key. | ✓ |
-I[S] | windbg only: specify windbg as post mortem debugger | ✗ |
-iu keyString | | ✓ |
-j | windbg only(?): allow journaling | ✗ |
-y symbolPath | Set symbol search paths, separated by a semicolon (; ) | ✓ |
-srcpath path | Set source file search paths, separated with a semicolon (; ). See also the _NT_SOURCE_PATH environment variable and the .srcpath command. | ✓ |
-aExtension | Set default extension DLL, the default-default extension DLL is userexts. | ✓ |
-failinc | ignore questionable symbols | ✓ |
-noio | | ✓ |
-noinh | Processes that are created by the debugger won't inherit the debugger's handles. | ✓ |
-noshell | Prohibits all .shell commands | ✓ |
-nosqm | Disables collection and upload of telemetry data | ✓ |
-sdce | Display file access error dialog boxes during symbol load. | ✓ |
-ses | Perform a strict evaluation of all symbol files. | ✓ |
-sicv | Cause symbol handler to ignore the CV record. | ✓ |
-sins | Turn of C++ translation | ✓ |
-snc | | ✓ |
-snul | Disables automatic symbol loading for unqualified names | ✓ |
-zp pageFile | Set name of modified page file | ✓ |
-sup | Let symbol handler search public symbol table during every symbol search | ✓ |
-sflags 0xnnn | Sets all symbol handler options. | ✓ |
-ee {masm|c++} | Set default expression evaluator | ✓ |
-e Event | Signal occurrence of Event, only used when starting debugger programmatically. | ✓ |
-- | Debug csrss.exe | ✓ |
-p PID | Attach to process with given Process ID (PID) | ✓ |
-pn name | Attach to process with given name | ✓ |
-psn service | Attach to given service. | ✓ |
-z dumpFile | Set crash dump file to debug. | ✓ |
-pb | | ✓ |
-pd | | ✓ |
-pe | | ✓ |
-pr | start (suspended?) process if attaching to it. | ✓ |
-pt secs | Break time-out, in seconds | ✓ |
-pv | Attach non invasively | ✓ |
-pvr | Like -pv , yet without suspending target | ✓ |
-QR Server | | ✓ |
-cimp | Start CDB/NTSD with a DbgSrv implicit command line | ✓ |
-isd | Turn on CREATE_IGNORE_SYSTEM_DEFAULT flag for any newly created process | ✓ |
-kqm | | ✓ |
-version | print version string | ✓ |
-vf | Enables default application verifier settings | ✓ |
-vf:<opts> | Set given application verifier settings | ✓ |
-netsyms:{yes|no} | (Dis-)allow loading symbols from a network path. | ✓ |