Chapter 6: Debugging with Visual Studio

153

Figure 6-4 Debug properties

Web application. Generally, you’ll only use Start Project for a desktop application. The property pages change for Web applications, which automatically run in a browser.

You can add a space-separated list of values for command-line arguments. If you’re building an application that needs to be run from a command window or from a command script, this method is very useful to test and debug a specific command-line configuration. You can then read the values you’ve entered into the Command Line Arguments text box by reading them from the args array passed to the Main method.

A working directory is the root location of where your program reads and writes files. By default, this location is bin\Debug for Debug configurations and bin\Release for Release configurations. You can change the working directory location by putting a file path in the Working Directory property box.

Use Remote Machine is an advanced scenario where you can debug an application running on a remote machine. To do this, you would need to install remote debugging software on the remote machine, ensure the Output path of the Build tab of the Properties

Page 176
Image 176
Microsoft 9GD00001 manual 153, Debug properties