Unhandled exception has occurred while running in Azure

Windows Azure, just like any other IIS website can crash if an unhandled exception occurs.  One way that this can happen is if you are calling an Async function call and in the function that is called on completion, you throw an exception. In this situation, you will see something in the Application event log…

0

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

WCF RIA 4.0 requires an Entity Model that includes Foreign Key Information

If you try to build a WCF RIA Application and the Entity Model (EM) doesn’t include foreign key information you will get an error like: Unable to retrieve association information for association ‘MyModel.MyAssociation’. Only models that include foreign key information are supported. See Entity Framework documentation for details on creating models that include foreign key…

2

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

Contest: What have you done with .NET?

Do you develop applications using .NET?  If so, head on over to this new contest at http://www.mydotnetstory.com and entry your story for a chance to win some really great prizes.  What can you win?  Well, if you are chosen by the judges, you could win a trip the the Galapagos Islands or a Smart Car…

0

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