Share via


Debugger quick reference

As promised earlier, here's a one page quick reference describing some of the most frequently used commands in cdb / ntsd / windbg / kd.

The debuggers themselves are available at https://www.microsoft.com/whdc/ddk/debugging/default.mspx and include reasonably good HTML Help documentation. However, the one pager is nice for learning and reference, particularly if you don't use these debuggers every day.

Send feedback if you find errors or have suggestions for improvements.

Comments

  • Anonymous
    February 09, 2004
    The comment has been removed
  • Anonymous
    February 09, 2004
    Two more useful commands:

    x (examine symbols) - like x ntdll!process
    s (search memory)

    For the 's' command it's probably a good idea to mention the obscure syntax to search ranges larger than 256 MB. For example, s -d 0 l?20000000 12345678 will search the lower 2GB address space for 0x12345678.
  • Anonymous
    February 09, 2004
    Great feedback, Pavel. I've made some fixes, tweaks, and added a few more commands.

    I'll consider the others. So far the goal has been to keep it focused on the most frequently used commands.