- download from MS: http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx
- Windbg support kernel mode and user mode debug, here is some basic information in user mode
- tips
- command prompt: [system num]:[process num]:[thread num]>
- some usefull commands:
- .hh
- ENTER the last command
- $$ / * comments
- ? expression
- ?? c++ expression
- # search for disassemblly pattern
- || system information
- | process information, | s set the current process
- ~ list all the thread
- $$< run the windbg script
- .cls clear the command window
- .dump /ma dumpfile.dmp
- !analyze -v
- kb call stack
- kp stack
- bp break point
- lm show loaded modules
- !locks
- !handles
- !memusage physical memery usage
- !vm virtual memery usage
- !process process information
- ba, bc, bd, be, bl, bp, bu, bm, br, bs, bsc break point related
- !dlls show the entry of the dll