Microsoft currently offers 4 types of debugging tools. With these tools you can remote debug another machine over firewire or serial cable (USB also but may not work consistently), as well as debug usermode processes and dump files.
Command line debuggers:
- kd.exe: kernel debugger – Used to review Crash dumps created by a blue screen crash event or a stop error. (kd –z <location of dump> –y <location of symbols>)
- cdb.exe: User mode debugger for reviewing applications, processes, and process dumps (cdb –z <location of dump> –y <location of symbols> )
- ntsd.exe: CDB and NTSD are virtually identical, except that NTSD spawns a new text window when it is started, whereas CDB inherits the Command Prompt window from which it was invoked. When I refer to “CDB”, it applies to both CDB and NTSD.
Graphical User Interface Debugger:
- Windbg.exe is a GUI based debugger. It can debug the same things as KD & CDB using the same commands. Windbg gives you the ability to have multiple windows open simultaneously to review source code or other selectable items under the view menu.