Edit

Share via


C++ Debugging Property Pages

These property pages are found under Project > Properties > Configuration Properties > Debugging. Choose the debugger type in the drop-down control. For more information about debugging C++ code, see Tutorial: Learn to debug C++ code using Visual Studio and Debugging Native Code.

Local Windows Debugger Property Page

Command

The debug command to execute.

Command Arguments

The command line arguments to pass to the application.

Working Directory

The application's working directory. By default, the directory containing the project file.

Attach

Specifies whether the debugger should attempt to attach to an existing process when debugging starts.

Debugger Type

Specifies the debugger type to use. When set to Auto, the debugger type will be selected based on contents of the exe file.

Choices

  • Native Only - Native Only
  • Managed Only - Managed Only
  • Mixed - Mixed
  • Auto - Auto
  • Script - Script
  • GPU Only (C++ AMP) - GPU Only (C++ AMP)

Environment

Specifies the environment for the program to be debugged, or variables to merge with existing environment.

Debugging Accelerator Type

The debugging accelerator type to use for debugging the GPU code. (Available when the GPU debugger is active.)

GPU Default Breakpoint Behavior

Sets how often the GPU debugger breaks.

Choices

  • Break once per warp - Break once per warp
  • Break for every thread (like CPU behavior) - Break for every thread (like CPU behavior)

Merge Environment

Merge specified environment variables with existing environment.

SQL Debugging

Attach the SQL debugger.

Amp Default Accelerator

Override C++ AMP's default accelerator selection. Property does not apply when debugging managed code.

Remote Windows Debugger Property Page

For more information about remote debugging, see Remote Debugging a Visual C++ Project in Visual Studio.

Remote Command

The debug command to execute.

Remote Command Arguments

The command line arguments to pass to the application.

Working Directory

The application's working directory. By default, the directory containing the project file.

Remote Server Name

Specifies a remote server name.

Connection

Specifies the connection type.

Choices

  • Remote with Windows authentication - Remote with Windows authentication.
  • Remote with no authentication - Remote with no authentication.

Debugger Type

Specifies the debugger type to use. When set to Auto, the debugger type will be selected based on contents of the exe file.

Choices

  • Native Only - Native Only
  • Managed Only - Managed Only
  • Mixed - Mixed
  • Auto - Auto
  • Script - Script
  • GPU Only (C++ AMP) - GPU Only (C++ AMP)

Environment

Specifies the environment for the program to be debugged, or variables to merge with existing environment.

Debugging Accelerator Type

The debugging accelerator type to use for debugging the GPU code. (Available when the GPU debugger is active.)

GPU Default Breakpoint Behavior

Sets how often the GPU debugger breaks.

Choices

  • Break once per warp - Break once per warp
  • Break for every thread (like CPU behavior) - Break for every thread (like CPU behavior)

Attach

Specifies whether the debugger should attempt to attach to an existing process when debugging starts.

SQL Debugging

Attach the SQL debugger.

Deployment Directory

When debugging on a remote machine, if you want the contents of the project output (except for PDB files) to be copied to the remote machine, specify the path here.

Additional Files to Deploy

When debugging on a remote machine, files and directories specified here (besides the project output) are copied to the Deployment Directory if one was specified.

Deploy Visual C++ Debug Runtime Libraries

Specifies whether to deploy the debug runtime libraries for the active platform (Win32, x64, or ARM).

Amp Default Accelerator

Override C++ AMP's default accelerator selection. Property does not apply when debugging managed code.

Web Browser Debugger Property Page

HTTP URL

Specifies the URL for the project.

Debugger Type

Specifies the debugger type to use. When set to Auto, the debugger type will be selected based on contents of the exe file.

Choices

  • Native Only - Native Only
  • Managed Only - Managed Only
  • Mixed - Mixed
  • Auto - Auto
  • Script - Script

Web Service Debugger Property Page

HTTP URL

Specifies the URL for the project.

Debugger Type

Specifies the debugger type to use. When set to Auto, the debugger type will be selected based on contents of the exe file.

Choices

  • Native Only - Native Only
  • Managed Only - Managed Only
  • Mixed - Mixed
  • Auto - Auto
  • Script - Script

SQL Debugging

Attach the SQL debugger.