If broken it is, fix it you should

Using the powers of the debugger to solve the problems of the world - and a bag of chips    by Tess Ferrandez, ASP.NET Escalation Engineer (Microsoft)

Browse by Tags

Tagged Content List
  • Blog Post: Reader email: Need help troubleshooting perf/memory issues

    I get several emails every day (through the blog) with urgent requests to help troubleshoot memory issues or memory related performance issues. Some just say “we have a memory issue, how do I troubleshoot it?” and others are far far more detailed with links to dumps and everything:) I...
  • Blog Post: Fix for RestartWWWService=false in Visual Studio 2010

    We recently published a fix for the following problem: You create a deployment project for a web application in Visual Studio 2010, set the deployment property RestartWWWService=false and deploy to a Windows 2003 server. http://msdn.microsoft.com/en-us/library/22f9106b.aspx In this situation the w3wp...
  • Blog Post: Debug Diag 1.2 (Beta)

    Are you looking for some good stuff to put in your family’s Christmas stockings this year? Maybe a new phone, a controller for your gaming console, why not a brand new debugging tool:) Jokes aside, I get peppered with questions about Debug Diag and if there is a new version coming that will support Windows...
  • Blog Post: Capturing memory dumps for 32-bit processes on an x64 machine

    This is an issue that I often get questions around and we often have cases where we have to re-capture memory dumps because the memory dumps were captured the “wrong” way. The short story is: If you are executing a 32-bit process on a 64-bit machine, (which is the default case for IIS...
  • Blog Post: Help! !clrstack is not showing any method names

    From time to time I get questions about missing method names in the sos !clrstack output, like this: 0:019> !clrstack OS Thread Id: 0x5d0 (19) ESP EIP 0f31f340 7c80bef7 [HelperMethodFrame_1OBJ: 0f31f340] 0f31f398 1449167a 0f31f3c4 144915e6 0f31f3f4 10d81b48 0f31f4b4 793e25cf 0f31f4bc...
  • Blog Post: Getting full user mode dumps automatically when your process crashes

    I recently got a question about if it is possible to generate full user mode dumps automatically every time the process crashes (without having debug diag or adplus installed and monitoring your system). This would be useful for example if you are setting up a site, and you want to make sure you get...
  • Blog Post: .NET Memory Leak: XslCompiledTransform and “leaked” dynamic assemblies

    I have written before about high memory usage caused by improper usage of XmlSerializer objects both in a case study and in a debugging lab .  The problem there was that every time you create a new XmlSerializer object with a non-default constructor, you generate a new dynamic assembly that contains...
  • Blog Post: New Visual Studio 2010 and .NET 4 debugging content

    It’s been a pretty busy few weeks at work coupled with some vacation so I’ve been lagging a bit with the blogging, so sorry for bombarding the blog with new posts now:) As you all know, Visual Studio 2010 just released and there is a lot of new content out there and I thought I’d mention a few in the...
  • Blog Post: Debugging a classic ReaderWriterLock deadlock with SOSex.dll

    I was helping out on an issue the other day where the process would stall if they added enough users in their load tests.  Btw, serious kudos to them for making load tests, so much nicer to work with a problem in test rather than when it is getting critical on a production machine. We gathered some...
  • Blog Post: IIS and PAE

    I recently got a question by one of my customers about PAE and IIS that I thought I’d share the answer to. Their environment looked something like this: 32bit OS (Windows 2003) IIS 6 with multiple application pools, where each app pool hosts a number of applications ~20 GB RAM They...
  • Blog Post: New debugger extension for .NET (PSSCOR2)

    Tom just blogged about a new debugger extension called PSSCor2, which is a superset to the SOS.dll extension that ships with the .net framework. PSSCor2.dll has been around for quite some time at Microsoft, and pretty much everyone debugging .net code with windbg within Microsoft is using this since...
  • Blog Post: Videos of developer sessions at Oredev (including mine on .net debugging)

    Just a quick post to share a link to last years videos for the Oredev developer conference http://oredev.org/video Here is my .net debugging presentation where I show off some windbg + new VS.NET features and apart from all the good developer content, you might also want to check out Scott Hanselmans...
  • Blog Post: Tool for generating DGML graphs showing why your object can’t be collected (VisualGCRoot)

    Visual Studio.NET 2010 has a new feature that allows you to create nice directed graphs with a markup language called DGML (Directed Graph Markup Language).  Visualizing object graphs with DGML Chris Lovett wrote a tool that takes GCRoot output and transforms it to a DGML document so that you can...
  • Blog Post: New commands in SOS for .NET 4.0 Part 1

    My friend and fellow debugger Brian at http://Kodehoved.dk recently wrote a couple of posts on news with sos for .NET framework 4.0 (in Danish) New SOS Commands in .NET 4 More debugging news in CLR 4 Since Danish, although a beautiful language is probably foreign to most of you I figured I’d write a...
  • Blog Post: It’s time for TechDays Sweden again…

    March 23rd and 24th I will be presenting at TechDays Sweden in Örebro.  The agenda for my session is not set in stone yet but the plan is to talk about debugging .NET production type issues as usual (Performance, Memory, Crashes, Exceptions etc.) since that is what I know best. I will be talking...
  • Blog Post: System.Configuration.ConfigurationErrosException “Unrecognized element ‘setting’” and other unrecognized elements

    If you have a .NET configuration file with multiple <setting> elements, you may get the following exception: Unhandled Exception: System.Configuration.ConfigurationErrorsException: Unrecognized element 'setting'. (F:\MyApp\bin\Debug\MyApp.exe.config line 11)  at System.Configuration.BaseConfigurationRecord...
  • Blog Post: MSDN Radio (Swedish) - Tess Corner

    MSDN Radio is a Swedish MSDN podcast that is Dag König puts together every other week.  The show contains a number of different segments and is usually pretty fun to listen to. Starting this week, and hopefully every other week or so during the spring, I will have a 5-15 min segment on the show...
  • Blog Post: Debugging Native memory leaks with Debug Diag 1.1

    I often get questions about debugging native memory leaks. In other words, cases where you have high memory usage in your application but you can see that .net memory usage is not all that high. Recently I was helping out on such a case and this post details both generally how you go about troubleshooting...
  • Blog Post: High CPU in .NET app using a static Generic.Dictionary

    A couple of weeks ago I helped out on a high CPU issue in an ASP.NET application. Problem description Every so often they started seeing very slow response times and in some cases the app didn’t respond at all and at the same time the w3wp.exe process was sitting at very high CPU usage 80-90%. ...
  • Blog Post: More debugging videos and a Resource List from my TechED and Oredev sessions on debugging asp.net applications

    I just returned from Oredev and TechED EMEA , both conferences were very interesting in their own special ways. TechED was of course bigger with a lot of good sessions on my specific area while Oredev is a bit more small and cozy, and a way to meet people that deal with completely different things...
  • Blog Post: Recap of Oredev and some .net debugging videos

    This week I attended and spoke at the Oredev conference in Malmö Sweden, and it was great fun as usual. It was a pretty productive few days with a lot of good talks and conversations with some really cool people. I’ll put up a link to the talk as it becomes available Channel9 video and chat...
  • Blog Post: WOHOO!!!, Debug Diag 64bit is finally released

    For all of you who have been asking me if there is a 64bit version of Debug Diag (used to debug 64 bit processes), I am happy to say that yes, Debug Diag 1.1 64bit is now released. You can download it here: http://www.microsoft.com/DOWNLOADS/details.aspx?FamilyID=28bd5941-c458-46f1-b24d-f60151d875a3&displaylang...
  • Blog Post: .NET Hang Case study: The danger of locking on strings

    I had an interesting case today where an asp.net app was stuck in a true deadlock. In other words two threads were both waiting for resources that the other thread owned. The scenario in these cases usually goes something like this: FunctionA (locks on ResourceA) and calls FunctionB where it...
  • Blog Post: Debug Diag: mscorwks.dll is responsible for 372.46 MBytes worth of outstanding allocations

    I got an email today on an issue that I think is pretty common when you try to memory leak analysis on a dump with debug diag . They had set up a leak rule in debug diag to monitor for leaks and then ran the memory analysis on it to see what was leaking and the results looked something like this:  ...
  • Blog Post: Finding memory leaks with ANTS Memory Profiler

    I was out looking for some sample scripts for tinyget and ran across this ANTS Memory Profiler review where Scott Seely has tested it out on some of my debugging labs . I haven’t had the time and/or opportunity to test it out myself but since many people have asked me if I had used it or what I thought...
Page 1 of 8 (194 items) 12345»