MSDN Archive Home
Help and FAQs
Debugger Expression Evaluator Sample Deep Dive
All Resource Updates
Change History (all pages)
Deep Dive document download for the Debugger Expression Evaluator sample included in the VS SDK.
The Visual Studio debugger can be extended with debug engines, symbol providers and expression evaluators. This sample demonstrates how to extend the Visual Studio debugger with a custom Debug Expression Evaluator object. The Expression Evaluator is the object that is the one that provides information for the Locals, Watch and QuickWatch windows.
Creating any of the extension objects above is a complex task. This sample provides an implementation of a simple expression evaluator. The “only” feature our expression evaluator provides to is display local variables in the context of a method while the debugger is stopped somewhere within a method body. A “real” expression evaluator is capable of parsing a language expression within the current debugging context and evaluating its value. Our evaluator lacks this feature but in contrast it can be used both with VB and C#.
After reading this deep dive you are going to be familiar with the following concepts related to debugger extensibility:
What are the main concepts behind Visual Studio Debugger Extensibility?
What are the relevant ideas behind Expression Evaluators?
How to configure Visual Studio to use a Debug Expression Evaluator?
What makes a COM class an Expression Evaluator?
How to create and use debug fields, debug objects and debug properties?
Mar 24 2009 at 8:23 PM
, version 2
Sign in to add a comment
Debugger Expression Ev...
Tue Mar 24 2009 at 7:00 AM
Related Resource Pages
VSX Home on Code Gallery
More Tags ...
Visual Studio 2005
Visual Studio 2008
Visual Studio 2010
Manage Your Profile
MSDN Flash Newsletter
© 2008 Microsoft Corporation. All rights reserved.