Project Settings for a Visual Basic Debug Configuration
You can change the project settings for a Visual Basic debug configuration in the Property Pages dialog box, as discussed in Debug and Release Configurations. The following tables show where to find debugger-related settings in the Property Pages dialog box.
Configuration Properties folder (Debugging category)
|Start Action||This group of controls specifies the action that will occur when you choose Start from the Debug menu.
|Command Line Arguments||Specifies command-line arguments for the program to be debugged. The command name is the program name specified in Start external program. If Start Action is set to Start URL, command-line arguments cannot be specified.|
|Working Directory||Specifies the working directory of the program being debugged. In Visual Basic, the working directory is the directory the application is launched from \bin by default.|
|Use Remote Machine||When the check box is selected, remote debugging is enabled. In the textbox, you can type name of a remote machine where the application will run for debugging purposes. The location of the EXE on the remote machine is specified by the Output Path property in the Configuration Properties folder, Build category. The location must be a shareable directory on the remote machine.|
|Always Use Internet Explorer when debugging Web pages||Instructs the debugger to use Internet Explorer. If this option is not selected, the debugger will use the default Internet browser you have set up for Visual Studio.|
|ASP.NET Debugging||Enables debugging of server pages written for the ASP.NET development platform. You must specify a URL in Start URL.|
|ASP Debugging||Enables debugging of Active Server Pages (ASP). You must specify a URL in Start URL.|
|Unmanaged code debugging||Enables you to debug calls to native (unmanaged) Win32 code from your managed application. This has the same effect as selecting Mixed for Debugger Type in a Visual C++ project.|
|SQL Server Debugging||Allows debugging of SQL procedures.|
Configuration Properties folder (Build category)
|Generate Debugging Information||Normally set only in a Debug version of a program, this setting (equivalent to the /debug compiler option) creates debug information at build time. The debugger uses this information to show variable names and other information in a useful form when you are debugging. If you compile your program without this information, debugger functionality will be limited. For more information, see /debug.|
|Define DEBUG Constant||Defining this symbol enables conditional compiling of output functions from the Debug class. With this symbol defined, Debug class methods generate output to the Output window. Without this symbol, Debug class methods are not compiled and no output is generated. This symbol should be defined in the Debug version and not defined in the Release version. Defining this symbol in a Release version creates unnecessary code that slows your program down.|
|Define TRACE Constant||Defining this symbol enables conditional compiling of output functions from the Trace class. With this symbol defined, the Trace class methods generate output to the Output window. Without this symbol, Trace class methods are not compiled and no Trace output is generated. You should define this symbol in the Debug version of your program. You can also define it in the Release version, if you want this functionality in that version.|