Sign in
Mike Stall's .NET Debugging Blog
Notes on Managed Debugging, ICorDebug, and random .NET stuff
Blog - Link List
Other Blogs
Tim's .NET blog
Energy Policy
CLR blogs
Rick Byers (CLR)
List of all CLR blogs
David Broman (Profiling)
Thomas Lai's blog
Other links
All about MDbg
What's new in v2.0?
Who am I?
ICorDebug/MDbg Forums
Contact me?
ASP.Net
ScottGu's blog
Henrik's blog
Brad Wilon's blog
Carlos Figueira's blog
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
RSS for posts
Atom
RSS for comments
OK
Search
Tags
Compilers & Languages
Design
dlr
Edit-And-Continue (EnC)
Family
feedback
FuncEval
ICorDebug
Interop (mixed-mode)
linkfest
MDbg
Non-work
Pages
Quiz
Random
random .net
reading
Sample Code
Silverlight
This should be in MSDN
Troubleshooting
versioning
WebAPI
Whidbey (V2.0)
Windows Live
Archive
Archives
August 2012
(2)
May 2012
(3)
April 2012
(5)
March 2012
(2)
November 2011
(1)
September 2011
(1)
December 2010
(1)
September 2009
(2)
July 2009
(1)
May 2009
(1)
February 2009
(1)
November 2008
(1)
June 2008
(1)
May 2008
(2)
April 2008
(3)
March 2008
(5)
February 2008
(2)
January 2008
(10)
December 2007
(7)
November 2007
(5)
October 2007
(16)
September 2007
(8)
August 2007
(12)
July 2007
(9)
June 2007
(5)
May 2007
(7)
April 2007
(4)
March 2007
(6)
February 2007
(5)
January 2007
(11)
December 2006
(9)
November 2006
(13)
October 2006
(9)
September 2006
(10)
August 2006
(6)
July 2006
(13)
June 2006
(10)
May 2006
(3)
April 2006
(4)
March 2006
(31)
February 2006
(16)
January 2006
(18)
December 2005
(11)
November 2005
(23)
October 2005
(12)
September 2005
(22)
August 2005
(31)
July 2005
(10)
June 2005
(7)
May 2005
(4)
April 2005
(5)
March 2005
(9)
February 2005
(16)
January 2005
(6)
December 2004
(3)
November 2004
(4)
October 2004
(14)
September 2004
(2)
October, 2004
MSDN Blogs
>
Mike Stall's .NET Debugging Blog
>
October, 2004
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Mike Stall's .NET Debugging Blog
Using metadata interfaces from managed code
Posted
over 9 years ago
by
Mike Stall - MSFT
7
Comments
The metadata APIs are unmanaged COM-classic interfaces declared in Cor.h in the SDK. (look for IMetaData* ). In this blog entry, I’ll wander over some random trivia about trying to use the metadata interfaces from managed code. We run into this from the...
Mike Stall's .NET Debugging Blog
David Notario, JIT guru, is blogging
Posted
over 9 years ago
by
Mike Stall - MSFT
0
Comments
David Notario, a dev on the CLR JIT has a blog. Check out http://blogs.msdn.com/davidnotario . The debugger and compiler have an intimate relationship because the debugger needs to understand the code-gen patterns from the compiler in order to meaningfully...
Mike Stall's .NET Debugging Blog
CLR Debugging vs. CLR Profiling
Posted
over 9 years ago
by
Mike Stall - MSFT
9
Comments
The CLR offers both debugging and profiling services. While there is some overlap, there are some significant differences between profiling and debugging in the CLR and they’re intended to solve very different problems. What about the similarities? There...
Mike Stall's .NET Debugging Blog
Standardizing ICorDebug?
Posted
over 9 years ago
by
Mike Stall - MSFT
0
Comments
I was recently asked “Are there any plans to standardize (ECMA for example) the debugging APIs?” Short answer is “No”. My two cents: In my opinion, ICorDebug is not yet ready to be standardized: - Standardizing it would impede our ability to innovate...
Mike Stall's .NET Debugging Blog
ICorDebug, Edit-and-Continue, and C#
Posted
over 9 years ago
by
Mike Stall - MSFT
13
Comments
In case anybody missed it, VS 2005 C# is going support Edit-and-Continue! (See announcement , and some follow up posts by the C# team from Andy and Steve ). The CLR is a language-neutral platform. So naturally, our debugging API (ICorDebug) operates at...
Mike Stall's .NET Debugging Blog
Implications of using a helper thread for debugging
Posted
over 9 years ago
by
Mike Stall - MSFT
16
Comments
What it means? I mentioned in a previous post ( http://blogs.msdn.com/jmstall/archive/2004/10/10/240452.aspx ) that the CLR debugging services is an “in-process model” which means it has a helper thread running in the same process as the EE which provides...
Mike Stall's .NET Debugging Blog
Why is managed debugging different than native-debugging?
Posted
over 9 years ago
by
Mike Stall - MSFT
11
Comments
People ask “why can’t a native debugger debug managed code?”. The reason is that the CLR provides a lot of cool services beyond what you get in a typical native C++ app, such as: running on a Virtual Machine / JITing, Dynamic class layout, the type-system...
Mike Stall's .NET Debugging Blog
We need your feedback on the fate of Cordbg.exe
Posted
over 9 years ago
by
Mike Stall - MSFT
16
Comments
We currently ship a command line debugger in the SDK, Cordbg.exe. It's implemented in unmanaged C++. In v2.0, our debugger test team also started developing their own command line debugger, MDbg , written in C# and harnessing the awesome power of managed...
Mike Stall's .NET Debugging Blog
How can I use ICorDebug?
Posted
over 9 years ago
by
Mike Stall - MSFT
7
Comments
ICorDebug, the managed debugging API, is a public API and anybody can use it to write a managed debugger. However, it’s also a very large and scarcely documented API. V1.1 had about 250 methods, and v2.0 has about 300 methods, and there’s nothing...
Mike Stall's .NET Debugging Blog
Filters + Finallys are not executed after unhandled exceptions when Native/Interop debugging!
Posted
over 9 years ago
by
Mike Stall - MSFT
6
Comments
I said earlier that Filters + Finallys are not executed after unhandled exceptions when Native / Interop debugging. I wanted to elaborate on that statement here: The symptoms : First, I want to clarify exactly what that means. Take the following trivial...
Mike Stall's .NET Debugging Blog
Debugging IL
Posted
over 9 years ago
by
Mike Stall - MSFT
25
Comments
Managed applications are compiled to IL (Intermediate Language) and then our JIT (Just-In-Time compiler) can compile it to native code so that the CPU can execute it. (The alternative is interpreting the IL directly, which has horrible performance characteristics...
Mike Stall's .NET Debugging Blog
"Rocket Science" API?
Posted
over 9 years ago
by
Mike Stall - MSFT
1
Comments
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 of ICorDebug. One such mistake was we frequently called ICorDebug a "Rocket Science" API. IMO, we figured that anybody writing a debugger must be a super...
Mike Stall's .NET Debugging Blog
Debuggers aren't supposed to change behavior
Posted
over 9 years ago
by
Mike Stall - MSFT
9
Comments
Ideally, an app executes the same whether there's a debugger attached or not. This derives from very practical motivations: Bugs usually first occur outside the debugger (some test fails), and then you want to just rerun the test under the debugger to...
Mike Stall's .NET Debugging Blog
Getting your feedback!
Posted
over 9 years ago
by
Mike Stall - MSFT
5
Comments
I'm interested in our consumer's feedback and knowing what sort of things people would like me to blog about. If you have feedback or things you'd like to see me post on, please just post a comment on this blog instead of trying to send me email. (I bet...
Page 1 of 1 (14 items)