DebugSettings.IsBindingTracingEnabled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.