PDA

View Full Version : Debug information not being printed to file


lsalas
06-16-2008, 10:42 PM
When redirecting debug information to a stream or file you may need to set the AutoFlush property of the stream to "true". This will ensure that debug information is flushed to the stream when it becomes available.

e.g.

object.Debug = true;
object.DebugStream = debugStream;
object.DebugStream.AutoFlush = true;