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 problems downloading or using this…

11

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 Size: 16(0x10) bytes GC Generation: 2 (C:\Windows\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll) Fields:…

1

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 is and what path through your…

2

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 derives from…

4

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 you…

43

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…

8

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 problems? SOS The…

17

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…

4

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…

14

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…

9