A Taste of Logic
You can't Photoshop the debugger.
Browse by Tags
All Tags
»
Debugging
(RSS)
ASP.NET
Creating Strings - A Case Study
I recently worked an issue with a customer who was experiencing high CPU. Performance Monitor data showed that the % of Time in GC was 46%. We generally recommend that you not be in GC more than 5% of the time, so this was a point of interest. One of
Read More...
Getting to the Root Cause of SqlExceptions
It's pretty common for me to work cases where something bad happens when an ASP.NET application is accessing a database. The nature of my job dictates that troubleshooting on these applications is most often performed in a production environment via post
Read More...
Generating a Dump In Your Code Using DebugBreak
There are many issues that pop up that really require a user mode dump in order to successfully diagnose root cause. I will occasionally visit the ASP.NET newsgroups, and when I do, I read only those posts with a subject that interests me. I find that
Read More...
Out of memory! Are you nuts!?
I may have said this before (my memory's not what it was prior to decade number 4), but the most common issues I debug are memory issues. These range from high memory issues (categorized as 800MB of more memory in use by the worker process) to OutOfMemory
Read More...
Getting the PID and TID of a COM Call
There are times when I may be debugging a latency issue that involves a COM component running in a dllhost process. Depending on where we are in that process, I may need to debug the dllhost process in addition to the aspnet_wp or w3wp process. So how
Read More...
Digging Into Objects
One of our engineers asked me yesterday about getting the total size for objects in memory. The debugger is adept at doing such things, but you have to understand how object sizes are interpreted. Let me start by giving you some background on how I'll
Read More...
Are you in GC?
When you're debugging, you're really just looking into internal memory structures in a process. When it comes to debugging an ASP.NET application, you are oftentimes dumping out method tables, objects, etc. The ability to do so requires a known address.
Read More...
Clarifications on Debugging
When I'm talking to ASP.NET developers who are experiencing memory issues, crashes, hangs, etc., I will often say, "Hook up the debugger and see what's going on." More often than not, the response that I get from that recommendation is one of confusion.
Read More...
Search
This Blog
Home
About
Email
Tags
AppCmd
ASP.NET
Debugging
Expression Web
General
IIS7
Office
Orcas
UI
Windows
Zune
Archives
January 2009 (2)
June 2008 (1)
February 2008 (4)
January 2008 (3)
December 2007 (2)
November 2007 (3)
October 2007 (1)
September 2007 (4)
July 2007 (2)
March 2007 (5)
February 2007 (5)
April 2006 (1)
January 2006 (1)
December 2005 (6)
Other Great Blogs
Todd's Blog
Tess's Blog
Jerry's Blog
Syndication
RSS 2.0
Atom 1.0