Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » ICorDebug   (RSS)

Getting good dumps when an exception is thrown

Often, when an unexpected exception occurs in production code, applications want to generate (and potentially report) some sort of diagnostics information.  Sometimes people just want to write to a log file (and perhaps pop some error dialog) for
Posted by rmbyers | 4 Comments
Filed under: ,

CLR 4.0 advancements in diagnostics

We announced at PDC today that we're making some significant advances in diagnostics tool support for CLR v4! In particular, we've been investing heavily in improving our support for production diagnostics scenarios over the past couple years. I'm excited
Posted by rmbyers | 16 Comments
Filed under: , ,

ICorDebug re-architecture in CLR 4.0

In my previous post I mentioned that CLR 4.0 will support managed dump debugging through ICorDebug, and that to do this we had to re-architect the debugging support in the CLR. I want to give you a little more detail about what we've been doing here.
Posted by rmbyers | 4 Comments
Filed under:

Func-eval can fail while stopped in a non-optimized managed method that pushes more than 256 argument bytes

In this blog entry , Mike describes that func-eval will fail when not a GC-safe point. In VS this results in the error "Cannot evaluate expression because a thread is stopped at a point where garbage collection is impossible, possibly because the code
Posted by rmbyers | 1 Comments
Filed under: ,

Invoking a virtual method non-virtually

Method calls using the C# ‘ base ’ keyword get compiled to an IL ‘ call ’ instruction, rather than the ‘ callvirt ’ that is normally used . This is the one case in C# where a virtual method can be invoked without virtual dispatch. The CLR allows it to
Posted by rmbyers | 3 Comments
Filed under: ,
 
Page view tracker