Share via


DebugSettings.IsBindingTracingEnabled Property

Definition

Gets or sets a value that indicates whether to engage the binding tracing feature of Microsoft Visual Studio when the app runs. When engaged and a binding error occurs, the BindingFailed event is raised and error information is logged in the native debug output.

public:
 property bool IsBindingTracingEnabled { bool get(); void set(bool value); };
bool IsBindingTracingEnabled();

void IsBindingTracingEnabled(bool value);
public bool IsBindingTracingEnabled { get; set; }
var boolean = debugSettings.isBindingTracingEnabled;
debugSettings.isBindingTracingEnabled = boolean;
Public Property IsBindingTracingEnabled As Boolean

Property Value

Boolean

bool

true to engage the binding tracing feature of Microsoft Visual Studio; otherwise, false. The default is true.

Remarks

This property is true by default, but for binding tracing to work, you must also select Mixed debugger type in Microsoft Visual Studio on the Debug page of the project designer.

When binding tracing is enabled and you run your app with the debugger attached,any binding errors appear in the Output window in Microsoft Visual Studio and cause a BindingFailed event to be raised.

Applies to

See also