Mike Stall's .NET Debugging Blog
Notes on Managed Debugging, ICorDebug, and random .NET stuff
Object Identity in Managed Debugging
The problem: Perhaps you’ve navigated through a global, local, or parameter while debugging, and...
Author: Mike Stall - MSFT Date: 01/08/2005
What's new in v2.0 CLR Debugging (ICorDebug)?
The CLR debugging services have added a lot of great things in v2.0. The main theme for us has been...
Author: Mike Stall - MSFT Date: 01/04/2005
How can I debug Just My Code?
Sometimes developers want to debug just the code they wrote and not the 3rd-party code (such as...
Author: Mike Stall - MSFT Date: 12/31/2004
How do Managed Breakpoints work?
In this blog entry, I’ll explain how setting source-level breakpoints in a managed debugger work...
Author: Mike Stall - MSFT Date: 12/28/2004
You can’t attach 2 debuggers to 1 process
For both managed-only and native-only debugging, you can only attach 1 debugger to a process. Why?...
Author: Mike Stall - MSFT Date: 12/11/2004
Enumerating Managed Processes
I noticed Brad Abrams and Krzysztof Cwalina were blogging about how to find a list of all the...
Author: Mike Stall - MSFT Date: 11/25/2004
Sample app to print loaded modules.
Here’s a simple C# sample tool that runs an app and prints the modules loaded. It’s effectively a...
Author: Mike Stall - MSFT Date: 11/19/2004
Winforms gui on top of Managed debugger sample.
UPDATE: The source for this sample is now available here. Since this post is closed (it's from Nov...
Author: Mike Stall - MSFT Date: 11/11/2004
Problems for a managed debugger for v1.1?
Now that we’ve released a managed debugger sample for V2.0, people commonly ask “What about v1.1?”....
Author: Mike Stall - MSFT Date: 11/02/2004
Using metadata interfaces from managed code
The metadata APIs are unmanaged COM-classic interfaces declared in Cor.h in the SDK. (look for...
Author: Mike Stall - MSFT Date: 10/30/2004
David Notario, JIT guru, is blogging
David Notario, a dev on the CLR JIT has a blog. Check out https://blogs.msdn.com/davidnotario. The...
Author: Mike Stall - MSFT Date: 10/25/2004
CLR Debugging vs. CLR Profiling
The CLR offers both debugging and profiling services. While there is some overlap, there are some...
Author: Mike Stall - MSFT Date: 10/22/2004
Standardizing ICorDebug?
I was recently asked “Are there any plans to standardize (ECMA for example) the debugging APIs?”...
Author: Mike Stall - MSFT Date: 10/21/2004
ICorDebug, Edit-and-Continue, and C#
In case anybody missed it, VS 2005 C# is going support Edit-and-Continue! (See announcement, and...
Author: Mike Stall - MSFT Date: 10/17/2004
Why is managed debugging different than native-debugging?
People ask “why can’t a native debugger debug managed code?”. The reason is that the CLR provides a...
Author: Mike Stall - MSFT Date: 10/10/2004
We need your feedback on the fate of Cordbg.exe
We currently ship a command line debugger in the SDK, Cordbg.exe. It's implemented in unmanaged C++....
Author: Mike Stall - MSFT Date: 10/06/2004
How can I use ICorDebug?
ICorDebug, the managed debugging API, is a public API and anybody can use it to write a managed...
Author: Mike Stall - MSFT Date: 10/05/2004
Debugging IL
Managed applications are compiled to IL (Intermediate Language) and then our JIT (Just-In-Time...
Author: Mike Stall - MSFT Date: 10/03/2004
"Rocket Science" API?
Let me just say it and make sure we're all on the same page here: We made a lot of mistakes in v1.0...
Author: Mike Stall - MSFT Date: 10/02/2004
Debuggers aren't supposed to change behavior
Ideally, an app executes the same whether there's a debugger attached or not. This derives from very...
Author: Mike Stall - MSFT Date: 10/02/2004
Getting your feedback!
I'm interested in our consumer's feedback and knowing what sort of things people would like me to...
Author: Mike Stall - MSFT Date: 10/01/2004
Managed Debugger Sample
We have a pure C#/IL managed debugger sample, called MDbg. It's available on MSDN at...
Author: Mike Stall - MSFT Date: 09/30/2004
Introductions, ICorDebug + CLR Debugging Services
My name is Mike Stall, and I'm a developer on the CLR (also called the .NET runtime and a host of...
Author: Mike Stall - MSFT Date: 09/30/2004