A very easy wayt to get Debug output for your debugging purposes:
- Add the ‘System.Diagnostics’ using statement to the class.
- use the ‘Debug.WriteLine(“Batman is totally kick butt”);’ syntax to send debug signals to any listeners
- Add a Debug listener to your tester app;
[code:c#]TextWriterTraceListener myWriter = new TextWriterTraceListener(System.Console.Out);
Debug.Listeners.Add(myWriter);
[/code]
Enjoy!