Let me share with you some public tools I’ve been using when working with applications and SharePoint cases.
These are the tools I use before trying a hardcore approach like attaching the debugger to the application or collecting dumps to do a post-mortem debugging. Of course, there’re situations where debugging is the only option, but based on the SharePoint cases I’ve been working with, it should be more of an exception than a rule.
The tools below are used for troubleshooting purposes and should give you information through formatted reports and graphics, so it’s easy to visualize the information and send the information to your customer or team.
For IIS log analysis and other log analysis:
Note: Lately I've been using PowerShell.
For SQL Server analysis:
SQL Nexus (uses LogParser under the hood)
For SQL Server Profiler analysis:
For Performance Monitor analysis:
PAL (uses LogParser under the hood)
Anti-panic warning: I’ve seen customers in panic because the red flags from the PAL report.
In some cases they were false positives. To avoid misinterpretation follow these guidelines:
a) When analyzing a counter, analyze it within the context of other counters. Do not consider one single counter alone. Context is very important when analyzing PerfMon logs.
b) Don’t worry about a few spikes. A few spikes doesn’t mean there’s a problem.
c) Always look at the graphic. The graphic means more than the numbers alone.
For gathering detailed information about SharePoint and the server:
For troubleshooting authentication and authorization failures in IIS:
AuthDiag (DebugDiag 1.1 has a newer version included)
I intend to update this article whenever I use a new tool that proves to be helpful.
Fiddler is a HTTP Debugging Proxy which logs all HTTP traffic between your computer and the Internet. Fiddler allows you to inspect all HTTP Traffic, set breakpoints, and "fiddle" with incoming or outgoing data.
Great to compare files, like logs from different machines.
For monitoring registry and file access.
Using this tool you can have a graphical view of all objects stored in the managed heap and their corresponding root objects.
This tool will examine your IL level components and report any possible areas where you may have the potential for a leak due to objects not being disposed of correctly. The output from the tool does may indicate false positives.
If you have been using different tools and want to share it with us, do it.