Debugging Console Applications
Console applications can be debugged in the IDE just as you would debug Windows applications, controls, or Web applications. There are a couple of extra considerations you might want to consider when debugging console applications, and we will cover those briefly in this section.
Specifying Command-Line Arguments in the IDE
Console applications are typically run from the Cmd window. While debugging, you might want to start the application from the Visual Studio IDE. If your application needs command-line parameters, as FileSort does, you can indicate those command-line arguments in the Debugging page of the application's Property Pages (see Figure 13.4). To set command-line arguments, select the project name in ...