Share via


ProvideLanguageServiceAttribute.DebuggerLanguageExpressionEvaluator Property

Definition

Determines the expression evaluator that is used for evaluating expressions.

public:
 property System::String ^ DebuggerLanguageExpressionEvaluator { System::String ^ get(); void set(System::String ^ value); };
public:
 property Platform::String ^ DebuggerLanguageExpressionEvaluator { Platform::String ^ get(); void set(Platform::String ^ value); };
public string DebuggerLanguageExpressionEvaluator { get; set; }
member this.DebuggerLanguageExpressionEvaluator : string with get, set
Public Property DebuggerLanguageExpressionEvaluator As String

Property Value

Returns a string containing the GUID of an expression evaluator; otherwise, returns a null value.

Examples

[ProvideLanguageService(typeof(MyLanguageService),           // Required  
                        MyConstants.languageName,            // Required  
                        MyConstants.languageNameResourceID,  // Required  
    // Optional language service properties  
    DebuggerLanguageExpressionEvaluator = "{45345223-cecd-48e7-a866-45cad2e8b169}",  
                       )]  

Remarks

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]  

Applies to