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: Now Available: Psscor4 – Debugger Extension for .NET 4.0

    I am very happy to announce that Psscor4 is now available for download.  You can download it from: Psscor4 Managed-Code Debugging Extension for WinDbg This should have the same functionality as Psscor2 does but it works against the .NET 4.0 Framework.  Please let me know if you run into any...
  • 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: Profilers and ASP.NET

    There are a lot of different ways to troubleshoot ASP.NET issues.  I have gone over most of the things you can do with a dump that has been captured from the process.  But there is another way to get useful information out of a process and that is by using a profiler. There are a number of...
  • 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: Logging modules for ASP.NET (MVC) and also for Windows Azure

    I was just reading through Scott Hanselman’s post about ELMAH and this sounds like a great idea.  Getting a easy to consume report of all of your exceptions is a wonderful thing, especially when you add in that you can get it as an RSS feed, an email or a web site.  You can check out ELMAH...
  • Blog Post: Any ASP.NET Debugging requests?

    With us starting to look forward to .NET 4.0, I started to think about the debugging story for ASP.NET and wondered if you had any requests for what you would like to see. Some of the things that are on my mind are ideas like: Giving some kind of visual debugging experience to help people to troubleshoot...
  • Blog Post: ASP.NET Troubleshooting

    So with how long ASP.NET has been out for now, I am really curious to know how people go about tracking down issues in their project. I’d like to know things like: How do you know there is a problem What tools do you use to confirm that the problem really is a problem How do you gather data about the...
  • Blog Post: What do you need to troubleshoot Azure?

    Looking to the future with cloud computing, it is going to become increasingly important to have good information about what is happening with your site in order to properly maintain it. Keeping development type of issues aside, what types of things do you think you will need in order to be able to properly...
  • Blog Post: Strange callstacks

    How many times have you been troubleshooting a dump or application, you look at the callstack and you see something that just doesn’t quite look right.  Chances are the problem is that you don’t have correct symbols. For example, if you see something like this: Vswebdesign!DllCanUnloadNow+0xb02a0...
  • 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: Tail calling in .NET

    Thought I would give a little details on one type of optimization that it is possible to see and explain what it is and how it affects things so that if you come across it, you will understand what is happening. So there is this concept of tail calling which is where the compiler will optimize code to...
  • Blog Post: ASP.NET Tip: How to avoid creating a GC Hole

    There are only a few things that can make a .NET process crash.  The most common one is an Unhandled Exception getting raised.  Another way that is can happen is by creating a GC Hole. What is a GC Hole So first a little background on what I mean by a GC Hole.  A GC Hole is any corruption...
  • 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: High Memory part 6 – Fragmentation revisited

    I have talked about a bunch of commands used to troubleshoot a managed memory problem in the past and given some situations of using them like: High memory, CPU, or other performance problems with .NET High Memory continued - Datatables High Memory part 3 - Native Heap High Memory part 4 - Managed Strings...
  • 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: How do you test the performance of your web site?

    I wanted to get a feel for what tools people are using to test the performance of their website.  My questions are: Do you check page-load times?  Do you dig in to see which files are taking the time How do you track down a page that uses a lot of memory How do you track down a high CPU consuming...
  • 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: Do you think about supportability?

    So I wanted to get a read on how people design their web sites.  My thinking is that there isn’t much time spent in planning for supportability.  There are a lot of other concerns that take priority, What is more important – Design or Content . I believe that supportability isn’t the most important...
  • Blog Post: ASP.NET Tips: DumpAllExceptions output changes

    The first time you run !DumpAllExceptions you will see it print out one full exception for each type of exception that is in the dump. This will include the message and the callstack of the exception. For example: Any time after that, if you run the same command, there is a chance that it will...
  • Blog Post: Windows Internal Beta Exam 70-660

    I wanted to pass along some really exciting news if you haven’t heard about it yet, we are getting ready to release a new certification that targets developers and IT professionals who need to know about the internals of Windows for their job.  You can read all about the exam and how to register...
  • 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...
Page 1 of 5 (108 items) 12345