Browse by Tags - ASP.NET Debugging - Site Home - MSDN Blogs

ASP.NET Debugging

Debugging from an ASP.NET and Azure Engineer. Posts are from customer issues and things I feel may be useful.

Browse by Tags

Tagged Content List
  • Blog Post: New Psscor2 commands – Dealing with Dates and Times

    If you have ever tried to look at a System.DateTime or System.TimeSpan object in a debugger, you know how difficult it is to see what the value is.  For example, this is what a System.DateTime object looks like: 0:017> !do 0x040f59b8 Name: System.DateTime MethodTable: 60809f0c EEClass: 605e1fd8...
  • Blog Post: New Psscor2 commands – ClrStack showing source and line numbers

    Continuing on from my previous post about DumpAllExceptions , here is another new update that comes with psscor2.  When you run !clrstack, you will now see the source and line information for the functions that are displayed.  This can be really helpful when trying to track down where a problem...
  • Blog Post: New Psscor2 commands – DumpAllExceptions

    There have been a few places where you can see this command run, but I wanted to talk about it here officially.  This command is used to display all of the exceptions that are currently in the managed heap.  One interesting thing is that this function actually looks at what class the object...
  • Blog Post: New debugger extension for .NET, Psscor2, released

    *UPDATE* The download is now 32-bit ! I wanted to be the first to inform everyone that there is a major update to the debugger extension story for .NET. Psscor2 has been released! This is a superset of the SOS.dll that ships with the framework. This extension has a lot of advantages over SOS if...
  • Blog Post: Debugging .NET apps for .NET 4.0

    With Visual Studio 2010 and .NET 4.0 getting ready to be shipped sometime in the next year, I wanted to see what were peoples ideas for how to debug applications that were written with them.  Are you happy in production with what you are currently doing?  Do you use SOS.dll to troubleshoot...
  • Blog Post: Videos are coming – suggested topics?

    So I have started to create some videos showing various things that you can do.  Are there specific things that everyone would like to see?  I’d like to build a list of the things you want and then I can start knocking them out.  I’m figuring most of them are going to be around debugging...
  • Blog Post: Getting SOS to work, a historical view

    When you try to debug a managed application using Windbg and SOS, there have been issues over the years that have come up with trying to get the extension to work properly. The major stumbling block has been to get it to load the proper files for it to work.  These files have changed over the years...
  • Blog Post: ASP.NET Tip: Understanding the caching of data in SOS

    The sos that comes with the debugger, in the clr10 directory, has a lot of additional features and speed improvements for .NET 1.x troubleshooting. One of the main ways it does this is by caching the data that is gathered from !DumpHeap -stat. This is something important to remember if something happens...
  • Blog Post: Who uses SOSEX and what for?

    Another thing I am curious to know is if anyone is using SOSEX and what advantages it gives you for debugging.  I have talked to the author of it and I think it has a lot of useful commands, just wanted to get everyone’s take on it. Let me know any problems you have with it also. If you don’t know...
  • Blog Post: Debugger Extension update

    The debugger extension that we were working on getting out with the debugger package has hit some roadblocks and it looks like it isn't going to be shipping with the debugger anytime soon. We are looking to see if we can find an alternative method to get it out.  But for the meantime, just stay...
  • Blog Post: SOS Tip: Using help

    This is just a quick little note to remind everyone that the !help command in sos can be very helpful.  Not only does it list all of the possible commands, but if you run it and pass it the name of a command, it will print out a bunch of really useful information for that command. For example, if...
  • Blog Post: SOS Best Practice: Match the SOS version with the process being analyzed

    I haven’t seen a whole of of issues around this as of yet, but now that 3.5 SP1 has released that may change.  If you copy SOS.dll to another location and then load it out of that directory to troubleshoot dumps, you may start seeing problems.  Namely, things like !clrstack not returning any...
  • Blog Post: SOS Feature Requests for the Future

    I know I have asked a similar question in the past, but what I would like to know now is, without any bounds on what it can do, what would you like to see from a troubleshooting tool for .NET? I am thinking about doing something radically different and would like to get some suggestions from everyone...
  • Blog Post: SOS: Request for feedback

    I have asked in the past, but wanted to ask again as it has been a while and there are different people looking at this blog now. Does anyone have any feedback on the SOS debugger extension?  I am looking for things like: What commands are missing that would be really useful Can any commands be...
  • Blog Post: SOS: Commands not working on a mini-dump

    Problem So occasionally I run into people trying to analyze a managed mini-dump and they have problems.  They run a command like !dumpobj and it fails. Cause The reason that these commands fail is that the CLR stores all it’s data in virtual memory.  That memory is not written when creating...
  • Blog Post: Debugging ASP.NET on a Production Server 101

    So I thought I would put all the information together in one place that I have been creating over the past few months.  I’ll try to go through all the steps and the different things that you will need to use in order to track down a problem. Realizing there is a problem So the first step is finding...
  • Blog Post: SOS: Upcoming release has a few new commands – HeapStat

    There are a lot of times where all you want to see are the sizes of the various heaps and generations.  For the heaps, you can use !eeheap -gc to see the sizes, but the output can be a little difficult to read as it prints out so much other stuff. So this is where !heapstat can help out.  This...
  • Blog Post: SOS: Upcoming release has a few new commands – DumpXmlDocument

    If you have done much debugging with XML data, you know how difficult it can be to look at a System.Xml.XmlDocument.  They don’t just show up in the debugger as XML.  This is where this command comes into play.  It will take a XmlDocument as input and will print out the entire XML for...
  • Blog Post: SOS: Upcoming release has a few new commands – ported from 1.x

    These are not a new command in some regards as they were added to the 1.x version of SOS that ships with the debugger package.  But if you haven’t been using that before, these are new commands: ASP.NET Tips: Debugger command you may not know about – aspxpages ASP.NET Tips- Debugger command you...
  • Blog Post: SOS: Upcoming release has a few new commands – DumpThreadConfig

    Since we are actively working on getting an updated version of SOS added to the debugger package that will work with .NET 2.0 and later, I thought I would post about some of the new functionality that you can expect to see in the updated version. The first new command: !DumpThreadConfig (!dtc for short...
  • Blog Post: Update coming for SOS

    It is still pretty early in the process, but I wanted to let you know that we are going to be adding SOS for .NET 2.0 to the Debugger package , with all of the new functionality that I have been referencing in my posts here. I am actively trying to get this added in hopes of having it go out in the next...
  • Blog Post: POP QUIZ: SOS not loading properly

    So for this quiz, we are going to be looking at attempting to load sos.dll for the .NET Framework 2.0. We get a dump file, and when we try to run a command on the dump file, we get an error like: So reading this, we see that we should run .cordll -ve -u -l .  Ok, so we run that: So the questions...
Page 1 of 1 (22 items)