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
- 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
2012 3
2011 3
2010 5
- [PowerShell Script] Troubleshooting for Port Exhaustion Using NetStat
- [WinDbg Script] Displaying Parameters for Microsoft.ReportingServices.ReportProcessing
- PSSCOR2, the Superset of SOS.DLL is Now Public!!!
- XPerf Tool – Why Can’t You Live Without It?
- Special Command—Editing memory with a, eb, ed, ew, eza, ezu
2009 20
- [PowerShell Script] PowerDbg v5.3—Using PowerShell to Control WinDbg
- Special Command—Unassembling code with u, ub and uf
- Special Command—Using # to Find Patterns of Assembly Instructions
- Special Command—Tracing Applications Using wt
- Special Command—Saving Modules Using .writemem
- Special Command—Using .dump/.dumpcab to Get Dumps and Symbols from Production Servers
- Special Command—Using !chksym/!itoldyouso to Check PDB Files Against Modules
- Special Command—Displaying Information From Modules/DLLs with !dlls
- Special Command—Using !for_each_frame to Run Commands
- Special Command—Displaying More PE Header Information with !dh
- Special Command—Displaying the PE Header Information with !lmi
- [PowerShell Script] Statistics from .NET Applications
- [PowerShell Script] PowerDbg v5.2—Using PowerShell to Control WinDbg
- [PowerShell Script] PowerDbg v5.1—Using PowerShell to Control WinDbg
- Special Command—Peeking Memory Addresses Using !address
- Special Command—Parsing Strings, Files, and Commands Output Using .foreach
- Special Command—Parsing Commands Using .shell
- [PowerShell Script] PowerDbg v5.0—Using PowerShell to Control WinDbg
- [WinDbg Script] Displaying Queries/Stored Procedures from Threads Running Managed Code
- Special Command—Advanced Programming Techniques for WinDbg Scripts
2008 36
- [PowerShell Script] Finding Out the Managed Objects that "Leaked"
- [Recommended Books] The List of Recommended Debugging Books was Updated
- [PowerShell Script] Extracting All Key/Value Pairs from a Dictionary Object
- Special Command—Execute Commands from a Customized User Interface with .cmdtree
- NetWiz - How to Download the Tool (finally!)
- [PowerShell Script] Chart and Statistics from Top 20 Objects Leaking
- [PowerShell Script] PowerDbg v4.0 - Using PowerShell to Control WinDbg
- [PowerShell Script] Downloading PDB for Specific Modules
- The Microsoft Interview Process – Videos, Articles and Material
- If I Only Could Change the Interview Process
- Who Is More Creative?
- Tools for Troubleshooting Applications (including SharePoint)
- Troubleshooting Software Problems: A Scientific Approach
- Special Command—Using Variables and Retrieving Information through Pseudo-Registers
- Special Command—.if and j to Use in Breakpoints and Scripts
- Special Command—Listing the Nearest Symbols with ln
- Special Command—Logging Commands Output and Commands History
- Special Command—How to See Different Call Stacks Only? !uniqstack
- Special Command—Using Breakpoints: bp, bm, ba, bu
- Special Command—Extracting Class and Struct Fields Using dt
- Special Command—Use lm* and Get All Details from Modules
- [PowerShell Script] Displaying the Top 5 Exceptions and Up to 5 Different Call Stacks For Each Exception
- Special Command—Searching the Call Stack for Symbols or Modules Using !findstack
- My Team is Hiring
- [PowerShell Script] PowerDbg v3.1 - Using PowerShell to Control WinDbg
- Comparing RegEx.Replace, String.Replace and StringBuilder.Replace – Which has better performance?
- Special Command: Using s to Explore The Memory
- Special Command: Repeating a Command Using z While a Given Condition is True
- Special Command: Using ~, the Thread Identifier
- Special Command: Using ??, @@c++() and poi() with C/C++ Expressions
- Special Command: Advanced Symbol Searching Using x.
- Special Command: Using dv to See the Local Variables
- Special Command: Analyzing the Memory and Stack Using the dp* Command
- Special Command: Displaying Memory Data Using the d* Command and Its Variations
- Special Command: Analyzing and Reconstructing the Stack Using the k* Command and Its Variations
- [PowerShell Script] Displaying the Call Stack for Inner and Hidden Exceptions
2007 24
- [PowerShell Script] Isolating the Threads Consuming High CPU
- [PowerShell Script] PowerDbg v2.3 - Using PowerShell to Control WinDbg
- [Recommended Books] Awesome Debugging Book
- [PowerShell Script] Saving a Module from a .NET Method Call
- [PowerShell Script] PowerDbg – Using PowerShell to Control WinDbg
- Understanding "Magic" Pointers and Offsets
- NetWiz - Tool to Assist Users in Using NMCap from Netmon 3
- [Windbg Script] Disassembling Routines and Searching for Instructions
- Sherlock - Tool for Blocker Script analysis - SQL Server 2000 and 7.0
- [Windbg Script] Saving a Module - Extracting Base Address and Image Name from a method call
- [Windbg Script] Serviced Components
- [Windbg Script] Disabling IsDebuggerPresent()
- My Blog posts in Korean
- [Windbg Script] Get Portable Executable Headers
- [Windbg Script] Tracing MessageBox calls
- [Windbg Script] Extracting Performance Monitor counters from .NET application
- [Windbg Script] Tracing API calls
- [Windbg Script] Playing with Notepad
- [Windbg Script] Retrieving queries/stored procedures from .NET application
- [Windbg Script] Connections from Pool
- [Windbg Script] Playing with Minesweeper
- [Windbg Script] Retrieving information from ASP
- [Windbg Script] Digging the Call Stack
- Read Me