Class DebugTraceListener
Replaces default trace listener with listener that overrides its System.Diagnostics.DefaultTraceListener.Fail method. On failed assertion (System.Diagnostics.Debug.Assert, System.Diagnostics.Trace.Assert, System.Diagnostics.Debug.Fail, System.Diagnostics.Trace.Fail) it shows message box with buttons ExitDebugIgnore, unless debugger is attached or !AssertUiEnabled.
public class DebugTraceListener : DefaultTraceListener, IDisposable
Namespace: Au.More
Assembly: Au.dll
Inherited Members
Methods
Name | Description |
---|---|
Fail(string, string) | |
Setup(bool) | Replaces default trace listener. |