PSSCOR4 Debugger Extension Released

April 29, 2011

A while back, Microsoft released the PSSCOR2 debugger extension for WinDbg, supporting more command than the classic SOS.DLL. This was for CLR v2 (.NET 2-3.5). Now a similar extension has been released for CLR 4 (.NET 4). You can download it here. There are versions for x86 and x64. The easiest way to use them is copy the relevant DLL to the .NET framework directory for the corresponding “bitness” (where SOS lives, something like C:\Windows\Microsoft.NET\Framework\v4.0.30319 (32bit) or C:\Windows\Microsoft.NET\Framework64\v4.0.30319 (64bit)) and then use .loadby psscor4 clr to load the extension. Then type !help to look at all the...
2 comments

Asynchrony == Threads ?

April 9, 2011

An interesting question came up during my talk on the new asynchronous programming model in C# 5.0. Doesn’t an asynchronous operation mandate a new thread? Isn’t the actual work done on a new thread? If so, then the benefits of an asynchronous programming model is in UI scenarios only, so that the UI remains responsive. But in server scenarios, if a another thread is created to do the “actual” work, then there is no gain at all, probably even loss, as a new thread is created with no obvious benefits. The short answer is maybe. An asynchronous operation may...
tags: ,
12 comments