Show / Hide Table of Contents

Property print.redirectDebugOutput


Overload

Let Debug.Write, Trace.Write and similar methods also write to the same destination as print.it.

public static bool redirectDebugOutput { get; set; }
Property Value
bool

Remarks

Does not replace existing Debug.Write etc destinations, just add new destination.

If Debug/Trace.Write text does not end with '\n' character, it is buffered and not displayed until called again with text ending with '\n' character or until called Debug/Trace.WriteLine.

Tip: To write to the output window even in console process, set print.ignoreConsole=true; before calling this method first time.