Udostępnij za pośrednictwem


VCDebugSettings Interface

The VCDebugSettings object contains properties that allow you to programmatically manipulate the settings on the Debug property page, which is in the Configuration Properties folder of a project's Property Pages dialog box.

Namespace:  Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

Syntax

'Declaration
<GuidAttribute("B534E0D7-DC24-4E8F-8354-E451FE192250")> _
Public Interface VCDebugSettings
[GuidAttribute("B534E0D7-DC24-4E8F-8354-E451FE192250")]
public interface VCDebugSettings
[GuidAttribute(L"B534E0D7-DC24-4E8F-8354-E451FE192250")]
public interface class VCDebugSettings
[<GuidAttribute("B534E0D7-DC24-4E8F-8354-E451FE192250")>]
type VCDebugSettings =  interface end
public interface VCDebugSettings

The VCDebugSettings type exposes the following members.

Properties

  Name Description
Public property ApplicationArguments Sets or gets arguments to the application that is to be debugged.
Public property ApplicationCommand Sets or gets the name of the application to be debugged.
Public property Attach Gets or sets a value indicating whether, when this project is debugged, the debugger should be attached to the process specified in the Command property.
Public property Command If Remote specifies local debugging and Attach is false, the Command property specifies the executable file to start when you invoke the debugger. If Attach is true and Remote specifies remote debugging, the Command property specifies the process to which the debug process should be attached when you invoke the debugger.
Public property CommandArguments Gets or sets the arguments to pass to the process specified in Command when Attach is false.
Public property DebuggerFlavor The debugger to launch.
Public property DebuggerType Gets or sets the debugger settings for managed or unmanaged code.
Public property Environment Gets or sets the environment for the debuggee, or variables to merge with the existing environment.
Public property EnvironmentMerge Gets or sets a value specifying whether to merge the specified environment variables with the existing environment.
Public property HttpUrl For ATL Server debugging, specifies the URL for the project.
Public property MPIAcceptFilter Gets or sets the Multi-Processor-Interface accept filter for the debugger.
Public property MPIAcceptMode Gets or set the Multi-Processor-Interface accept value for the debugger.
Public property MPIRunArguments Sets or gets the run arguments for Multi-Processor-Interface debugging.
Public property MPIRunCommand Sets or gets the name of the command to run under the Multi-Processor-Interface realm.
Public property MPIRunWorkingDirectory Sets or gets the Multi-Processor-Interface working directory.
Public property PDBPath Gets or sets the additional directories to search for symbol files.
Public property Remote Gets or sets local or remote debugging.
Public property RemoteCommand If Attach is false and Remote specifies remote debugging, the executable file starts when you invoke the debugger. If Attach is true and Remote specifies remote debugging, the RemoteCommand property specifies the process to which the debug process should be attached when you invoke the debugger.
Public property RemoteMachine When Remote specifies remote debugging, the RemoteMachine property specifies the name of the machine that contains the program to debug.
Public property ShimCommand Sets or gets the debugging shim command.
Public property SQLDebugging Enables SQL debugging for the project.
Public property WorkingDirectory The debugger's working directory. The default directory is the directory that contains the .vcxproj file.

Top

Remarks

See Project Settings for a C++ Debug Configuration for more information about the Debug property page. See Modifying Project Settings for information on accessing a project's Property Pages dialog box.

See Also

Reference

Microsoft.VisualStudio.VCProjectEngine Namespace