Debugging in Normal Mode
One of the commands you ’ ve been using throughout other examples is the Console.WriteLine() function, which outputs text to the console. As you are developing applications, this function comes in handy for getting extra feedback on operations:
Console.WriteLine("MyFunc() Function about to be called."); MyFunc("Do something."); Console.WriteLine("MyFunc() Function execution completed.");
This code snippet shows how you can get extra information concerning a function called MyFunc() . This is all very well, but it can make your console output a bit cluttered, and when you develop other types of applications, such as Windows forms applications, you won ’ t have a console to output information to. As an alternative, you can output text to a separate location — the Output window in the IDE.