Using Visual Studio for Crash Dump Debugging

Memory dumps come in two flavors user mode dumps or kernel mode dumps. The user mode dumps is a snapshot of a process and the memory it addresses, kind of like stopping at a break point while your debugging in Visual Studio, but you do not have the ability move forward. For deep analysis of crash dumps WinDbg is probably the most flexible tool but it can be a little intimidating for beginners to start using. There are a few alternatives out there but I would like to propose Visual Studio as the first stop for crash dump analysis.What is a crash?For crash scenarios there is really only a few different things that might be going on, the most common by far being are unhandled exceptions. This is where the exception occurs but it is not placed in a try catch block and it is allowed to go up ...

Open Source CLR Instrumentation Engine

I am working with a bunch of really smart folks who have a ton of experience with profiling and diagnostics who have just open sourced CLR Instrumentation Engine (CLRIE).'What is instrumentation?' I hear you cry. This is a more instructive and frankly invasive ...

Time Travel Debugging on Visual Studio Toolbox

I got the opportunity to join Robert Green on Visual Studio Toolbox last week, we got to talk about a new diagnostic scenario in Azure called Time Travel Debugging. You can record code executed in production and replay the execution path inside Visual Studio. It was ...

Module vs Assembly

Every day I am learning something new, if not new then I am fixing assumptions. For example I have for years used the term module and assembly interchangbly and that is not quite correct. It only became obvious this last week as a couple of engineers were using the ...

Windows Terminal

I thought when the Window’s console got transparency my life was complete.Well there is so much coming, I am genuinely excited for the upcoming release of Windows Terminal. It includes many of the features the community has requested including support for tabs, rich ...

Copy, Paste magic in Visual Studio

So I meant to talk about new features in Visual Studio 2019, however, I am seeing really useful features that have apparently been around for years. There is really neat trick with copy paste that I had no idea about.So normally you would hit a combination of CTRL-C ...

Time Travel Debugging in Azure

When you find an issue or exception in a production environment you actually have two problems. Identifying the issue and understanding exactly how you got into the situation.Logs tend to be really good at giving you the identity of the actual problem, and as an ...