ProvideLanguageServiceAttribute.DebuggerLanguageExpressionEvaluator ProvideLanguageServiceAttribute.DebuggerLanguageExpressionEvaluator ProvideLanguageServiceAttribute.DebuggerLanguageExpressionEvaluator Property


Determines the expression evaluator that is used for evaluating expressions.

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.


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


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