Welcome to MSDN Blogs Sign in | Join | Help

Debugging Toolbox

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

Browse by Tags

All Tags » PowerDbg Scripts   (RSS)
[PowerShell Script] Chart and Statistics from Top 20 Objects Leaking
If you want to know the top 20 objects associated with the GC Handles that are leaking, you have manual work to do. Think about it: a) Run GCHandleLeaks and wait… it’s going to take time. b) Get the objects’ instances from the handles. c) Count and classify Read More...
[PowerShell Script] Displaying the Call Stack for Inner and Hidden Exceptions
This script automates a technique I’ve been using for a long time whenever I need to see the stack for exceptions hidden in a call stack and if you are like me, you prefer to use an automated approach rather than a manual approach. I’m not going to write Read More...
[PowerShell Script] Isolating the Threads Consuming High CPU
When helping my customers with scenarios in which the symptom is high CPU, I very often end up with only a dump file from the application consuming high CPU and nothing else. When you have a high CPU scenario and you have dump files, you need a Performance Read More...
[PowerShell Script] Saving a Module from a .NET Method Call
This is my first script using the PowerDbg functions. It’s a good example of how to use PowerDbg to build your own scripts. PowerDbgScriptSaveModule . ps1 is the PowerShell version of my Windbg script Save_Module.txt Actually it does more than the previous Read More...
Page view tracker