The Curious Engineer

All blogs / Windows internals

Debugging Toolbox

learn.microsoft.com/en-us/archive/blogs/debuggingtoolbox

Windbg scripts, debugging and troubleshooting tools and techniques to help you isolate software problems.

Windows internalsDev tools / editors / IDEsC# / .NETMicrosoft blogsMSDN archive

’10’15’20’25
Posts
92 from 18 Mar 2007 to 14 May 2014
Posting
archived, read-only
Kind
personal blog
Feed
https://learn.microsoft.com/en-us/archive/blogs/debuggingtoolbox/feed.xml

2014 1

  1. [WinDbg Script] Hacking Minesweeper for Windows 8

2012 3

  1. Tools for Your Debugging Toolbox
  2. D3v3l0p3r PF3s – 0bs3rv1ng Th3m in Th31r Natural Hab1tat
  3. [WinDbg Script] Displaying the COM object referenced by an RCW object

2011 3

  1. Top Things to Consider When Troubleshooting Complex Application Issues
  2. New Debugging Book – Windows Debugging Notebook: Essential User Space WinDbg Commands
  3. [PowerShell Script] PowerDbg v6.0 – Using PowerShell to Control WinDbg

2010 5

  1. [PowerShell Script] Troubleshooting for Port Exhaustion Using NetStat
  2. [WinDbg Script] Displaying Parameters for Microsoft.ReportingServices.ReportProcessing
  3. PSSCOR2, the Superset of SOS.DLL is Now Public!!!
  4. XPerf Tool – Why Can’t You Live Without It?
  5. Special Command—Editing memory with a, eb, ed, ew, eza, ezu

2009 20

  1. [PowerShell Script] PowerDbg v5.3—Using PowerShell to Control WinDbg
  2. Special Command—Unassembling code with u, ub and uf
  3. Special Command—Using # to Find Patterns of Assembly Instructions
  4. Special Command—Tracing Applications Using wt
  5. Special Command—Saving Modules Using .writemem
  6. Special Command—Using .dump/.dumpcab to Get Dumps and Symbols from Production Servers
  7. Special Command—Using !chksym/!itoldyouso to Check PDB Files Against Modules
  8. Special Command—Displaying Information From Modules/DLLs with !dlls
  9. Special Command—Using !for_each_frame to Run Commands
  10. Special Command—Displaying More PE Header Information with !dh
  11. Special Command—Displaying the PE Header Information with !lmi
  12. [PowerShell Script] Statistics from .NET Applications
  13. [PowerShell Script] PowerDbg v5.2—Using PowerShell to Control WinDbg
  14. [PowerShell Script] PowerDbg v5.1—Using PowerShell to Control WinDbg
  15. Special Command—Peeking Memory Addresses Using !address
  16. Special Command—Parsing Strings, Files, and Commands Output Using .foreach
  17. Special Command—Parsing Commands Using .shell
  18. [PowerShell Script] PowerDbg v5.0—Using PowerShell to Control WinDbg
  19. [WinDbg Script] Displaying Queries/Stored Procedures from Threads Running Managed Code
  20. Special Command—Advanced Programming Techniques for WinDbg Scripts

2008 36

  1. [PowerShell Script] Finding Out the Managed Objects that "Leaked"
  2. [Recommended Books] The List of Recommended Debugging Books was Updated
  3. [PowerShell Script] Extracting All Key/Value Pairs from a Dictionary Object
  4. Special Command—Execute Commands from a Customized User Interface with .cmdtree
  5. NetWiz - How to Download the Tool (finally!)
  6. [PowerShell Script] Chart and Statistics from Top 20 Objects Leaking
  7. [PowerShell Script] PowerDbg v4.0 - Using PowerShell to Control WinDbg
  8. [PowerShell Script] Downloading PDB for Specific Modules
  9. The Microsoft Interview Process – Videos, Articles and Material
  10. If I Only Could Change the Interview Process
  11. Who Is More Creative?
  12. Tools for Troubleshooting Applications (including SharePoint)
  13. Troubleshooting Software Problems: A Scientific Approach
  14. Special Command—Using Variables and Retrieving Information through Pseudo-Registers
  15. Special Command—.if and j to Use in Breakpoints and Scripts
  16. Special Command—Listing the Nearest Symbols with ln
  17. Special Command—Logging Commands Output and Commands History
  18. Special Command—How to See Different Call Stacks Only? !uniqstack
  19. Special Command—Using Breakpoints: bp, bm, ba, bu
  20. Special Command—Extracting Class and Struct Fields Using dt
  21. Special Command—Use lm* and Get All Details from Modules
  22. [PowerShell Script] Displaying the Top 5 Exceptions and Up to 5 Different Call Stacks For Each Exception
  23. Special Command—Searching the Call Stack for Symbols or Modules Using !findstack
  24. My Team is Hiring
  25. [PowerShell Script] PowerDbg v3.1 - Using PowerShell to Control WinDbg
  26. Comparing RegEx.Replace, String.Replace and StringBuilder.Replace – Which has better performance?
  27. Special Command: Using s to Explore The Memory
  28. Special Command: Repeating a Command Using z While a Given Condition is True
  29. Special Command: Using ~, the Thread Identifier
  30. Special Command: Using ??, @@c++() and poi() with C/C++ Expressions
  31. Special Command: Advanced Symbol Searching Using x.
  32. Special Command: Using dv to See the Local Variables
  33. Special Command: Analyzing the Memory and Stack Using the dp* Command
  34. Special Command: Displaying Memory Data Using the d* Command and Its Variations
  35. Special Command: Analyzing and Reconstructing the Stack Using the k* Command and Its Variations
  36. [PowerShell Script] Displaying the Call Stack for Inner and Hidden Exceptions

2007 24

  1. [PowerShell Script] Isolating the Threads Consuming High CPU
  2. [PowerShell Script] PowerDbg v2.3 - Using PowerShell to Control WinDbg
  3. [Recommended Books] Awesome Debugging Book
  4. [PowerShell Script] Saving a Module from a .NET Method Call
  5. [PowerShell Script] PowerDbg – Using PowerShell to Control WinDbg
  6. Understanding "Magic" Pointers and Offsets
  7. NetWiz - Tool to Assist Users in Using NMCap from Netmon 3
  8. [Windbg Script] Disassembling Routines and Searching for Instructions
  9. Sherlock - Tool for Blocker Script analysis - SQL Server 2000 and 7.0
  10. [Windbg Script] Saving a Module - Extracting Base Address and Image Name from a method call
  11. [Windbg Script] Serviced Components
  12. [Windbg Script] Disabling IsDebuggerPresent()
  13. My Blog posts in Korean
  14. [Windbg Script] Get Portable Executable Headers
  15. [Windbg Script] Tracing MessageBox calls
  16. [Windbg Script] Extracting Performance Monitor counters from .NET application
  17. [Windbg Script] Tracing API calls
  18. [Windbg Script] Playing with Notepad
  19. [Windbg Script] Retrieving queries/stored procedures from .NET application
  20. [Windbg Script] Connections from Pool
  21. [Windbg Script] Playing with Minesweeper
  22. [Windbg Script] Retrieving information from ASP
  23. [Windbg Script] Digging the Call Stack
  24. Read Me