MS Windows Debuggers

WinDbg can be used to do user mode debug of applications running on the same machines as the debugger, but because it is common to stop instruction execution on the processor during debugging, especially for kernal mode code like device drivers, it is best to use two systems. One hosts the debug user interface and the other runs the code being debugged. They must be connected via a cable of some sort; prior to Win 8 USB or serial cables are necessary, but with Win 8 and above, the network can also be used. In some situations, it is possible that the second system is a virtual system, for example, a virtual PC that is running on the same PC; however, if you are working with code that closely accesses hardware, this is not a good idea.

WinDbg can also be used to open and analyse crash dump files.

See also: