Welcome to MSDN Blogs Sign in | Join | Help

December 2004 - Posts

How can I debug Just My Code?

Sometimes developers want to debug just the code they wrote and not the 3 rd -party code (such as framework and libraries) that’s also inside their app. This becomes particularly useful when user and non-user code call back and forth between each other.
Posted by jmstall | 27 Comments

How do Managed Breakpoints work?

In this blog entry, I’ll explain how setting source-level breakpoints in a managed debugger work under the hood from end to end. Here’s an overview of the pipeline of components: 1) End-user 2) Debugger (such as Visual Studio or MDbg ) . 3) CLR Debugging
Posted by jmstall | 19 Comments

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? The native debugger steals debug events from underneath the managed debugger. This confuses the managed-debugger and will cause it to crash. The native
Posted by jmstall | 12 Comments
Filed under:
 
Page view tracker