Tutorial by Examples

Module Module1 Sub Main() Debug.WriteLine("This line will be shown in the Visual Studio output console") Console.WriteLine("Press a key to exit") Console.ReadKey() Debug.WriteLine("End of application") End Sub End Modul...
Module Module1 Sub Main() Debug.WriteLine("Starting aplication") Debug.Indent() LoopAndDoStuff(5) Debug.Unindent() Console.WriteLine("Press a key to exit") Console.ReadKey() Debug.WriteLine("End of a...
At the beginning of your application, your must add a TextWriterTraceListener to the Listeners list of the Debug class. Module Module1 Sub Main() Debug.Listeners.Add(New TextWriterTraceListener("Debug of " & DateTime.Now.ToString() & ".txt")) D...

Page 1 of 1