ProvideLanguageServiceAttribute::DebuggerLanguageExpressionEvaluator Property
Visual Studio 2015
Determines the expression evaluator that is used for evaluating expressions.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
public: property String^ DebuggerLanguageExpressionEvaluator { String^ get(); void set(String^ value); }
Property Value
Type: System::String^Returns a string containing the GUID of an expression evaluator; otherwise, returns a null value.
A language service can interact with a debugger when a program is being debugged. Visual Studio can be told about which expression evaluator to use with a particular language service to avoid having to load a full debug engine.
This property is available to any language service implementation.
The default is a null value, indicating no associated expression evaluator is available.
The registry entry looks like this:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\[X.Y]\Languages\Language Services\
[Language Name]\
Debugger Languages\
[Expression Evaluator GUID] = reg_sz: [language name]
[ProvideLanguageService(typeof(MyLanguageService), // Required MyConstants.languageName, // Required MyConstants.languageNameResourceID, // Required // Optional language service properties DebuggerLanguageExpressionEvaluator = "{45345223-cecd-48e7-a866-45cad2e8b169}", )]
Show: