How to run WinDbg to debug local machine

1. Set _NT_SYMBOL_PATH to something similiar
_NT_SYMBOL_PATH=srv*d:\pdb_cache*http://msdl.microsoft.com/download/symbols


2. Download LiveKd v 3.12 or higher
http://technet.microsoft.com/en-us/sysinternals/bb897415.aspx


3. Download and install WinDbg (6.11 or higher version)
http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx#b


4. Copy livekd to directory of WinDbg
(C:\Program Files\Debugging Tools for Windows (x86))


5. Run
livekd -w


6. Have a fun


P.S. If you have problems then temporary disable firewall to allow download symbols from Microsoft symbols server.
http://forum.sysinternals.com/forum_posts.asp?TID=13501&PN=3
 

0 komentarze:

Prześlij komentarz

 
Tomasz Kulig