The Output Control

Hi,
I am using the Output control. I use the standard Diagnostics class to write text to the Output control and it is working great when my application in DEBUG mode. When in release, obviously
System.Diagnostics.DebugWriteLine(message)
is stubbed so nothing is written to the Output control.

How can I write to the AlterNet Output control in release mode?
Thanks
Hi,
You can use Trace.WriteLine command instead of Debug.WriteLine, and define TRACE conditional constant via ScriptRun.ScriptSource.Conditionals.
thx