Skip to content

Latest commit

 

History

History
225 lines (143 loc) · 6.93 KB

debugging-prop-pages.md

File metadata and controls

225 lines (143 loc) · 6.93 KB
description title ms.date ms.topic ms.assetid f1_keywords
Learn more about: C++ Debugging Property Pages
C++ Debugging Property Pages
07/24/2019
article
78115a6b-3799-4515-814e-8566b5bdc55d
VC.Project.IVCLocalDebugPageObject.Command
VC.Project.IVCLocalDebugPageObject.CommandArguments
VC.Project.IVCLocalDebugPageObject.WorkingDirectory
VC.Project.IVCLocalDebugPageObject.Attach
VC.Project.IVCLocalDebugPageObject.DebuggerType
VC.Project.IVCLocalDebugPageObject.Environment
VC.Project.IVCLocalDebugPageObject.GPUDebuggerTargetType
VC.Project.IVCLocalDebugPageObject.GPUBreakOnAllThreads
VC.Project.IVCLocalDebugPageObject.EnvironmentMerge
VC.Project.IVCLocalDebugPageObject.SQLDebugging
VC.Project.IVCLocalDebugPageObject.AmpDefaultAccelerator
VC.Project.IVCRemoteDebugPageObject.RemoteCommand
VC.Project.IVCRemoteDebugPageObject.CommandArguments
VC.Project.IVCRemoteDebugPageObject.WorkingDirectory
VC.Project.IVCRemoteDebugPageObject.RemoteMachine
VC.Project.IVCRemoteDebugPageObject.Remote
VC.Project.IVCRemoteDebugPageObject.DebuggerType
VC.Project.IVCRemoteDebugPageObject.Environment
VC.Project.IVCRemoteDebugPageObject.GPUDebuggerTargetType
VC.Project.IVCRemoteDebugPageObject.GPUBreakOnAllThreads
VC.Project.IVCRemoteDebugPageObject.Attach
VC.Project.IVCRemoteDebugPageObject.SQLDebugging
VC.Project.IVCRemoteDebugPageObject.DeploymentDirectory
VC.Project.IVCRemoteDebugPageObject.AdditionalFiles
VC.Project.IVCRemoteDebugPageObject.Remote
VC.Project.IVCRemoteDebugPageObject.AmpDefaultAccelerator
VC.Project.VCDebugSettings.WebBrowser.WebBrowserDebuggerHttpUrl
VC.Project.VCDebugSettings.WebBrowser.DebuggerType
VC.Project.IVCWebSvcDebugPageObject.HttpUrl
VC.Project.IVCWebSvcDebugPageObject.DebuggerType
VC.Project.IVCWebSvcDebugPageObject.SQLDebugging

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.