Tools|Options|Debugging Redirect all Output to Immediate is unchecked.
Tools|Options|Debugging|Output Window General output settings are all ON.
Debug configuration is activated, define DEBUG constant is checked.
Still Debug.WriteLine("test") writes nothing to Output Window(Cant capture it in DebugView from sysinternals too). What can cause that?
or use this:
System.Diagnostics.Debug.Listeners(0).WriteLine
instead of just Debug.WriteLine
Had this in config file, hope that can help someone else:
<system.diagnostics>
<trace>
<listeners>
<clear/>
</listeners>
</trace>
</system.diagnostics>
removed clear, now everything works. Thank you @Hans Passant.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With