Launch Notepad and attach WinDbg On the File menu, choose Open Executable. In the Open Executable dialog box, navigate to the folder that contains notepad.exe (typically, C:\Windows\System32). For File name, enter notepad.exe. Select Open.
You can exit WinDbg by choosing Exit from the File menu or by pressing ALT+F4.
Right-click WinDbg and select Run as administrator. Click the File menu. Click Start debugging. Click Open Dump file.
There's a few excellent blogs out there that help to gain windbg proficiency on an everyday basis:
I, personally, just started using windbg for all my debugging tasks and soon enough there were very questions I could not answer and very few problems I could not solve. Powerful and exciting tool.
For a book, try
Advanced Windows Debugging (Addison-Wesley Microsoft Technology Series)
(source: knowfree.net)
Also, for a great reference sheet, see
Common WinDbg Commands (Thematically Grouped) by Robert Kuster.
A great blog to check out is If broken it is, fix it you should. There's actually some posts on getting started in WinDbg.
My first experience with a debugger (actually soft ICE) has been a ... well ... sort of crack. There are some guide on the net about how to use a debugger to search for events and bypass/change program behavious. Once you've mastered the basic debugger skills, you can take any simple application (or your own applications) and play with it.
(This is just one of the guides i was talking about: http://www.woodmann.com/krobar/other/patch36.txt )
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With