I am writing an XNA library, and I need to view its debug output when I run the XNA game which calls its functions. This worked fine when I hosted it within a console application – I could just use Console.Writeline(). Is there an equivalent way to do this when the functions are being called from a non-console application?
Share
DebugView form TechNet (formerly a SysInternals tool) will capture debug output.
Instead of using
Console.Writeline(), useDebug.WriteLine()(and compile for debug) or better still a standard logging library such as Log4Net.How to trace and debug in Visual C#
XNA: Debugging tips?