共用方式為


VCDebugSettings Interface

Definition

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.

public interface class VCDebugSettings
public interface class VCDebugSettings
__interface VCDebugSettings
[System.Runtime.InteropServices.Guid("4B7EB22D-C745-4F7A-95B7-A662D2A25ED4")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface VCDebugSettings
[<System.Runtime.InteropServices.Guid("4B7EB22D-C745-4F7A-95B7-A662D2A25ED4")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
type VCDebugSettings = interface
Public Interface VCDebugSettings
Attributes

Remarks

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

Properties

ApplicationArguments

Sets or gets arguments to the application that is to be debugged.

ApplicationCommand

Sets or gets the name of the application to be debugged.

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.

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.

CommandArguments

Gets or sets the arguments to pass to the process specified in Command when Attach is false.

DebuggerFlavor

The debugger to launch.

DebuggerType

Gets or sets the debugger settings for managed or unmanaged code.

Environment

Gets or sets the environment for the debuggee, or variables to merge with the existing environment.

EnvironmentMerge

Gets or sets a value specifying whether to merge the specified environment variables with the existing environment.

HttpUrl

For ATL Server debugging, specifies the URL for the project.

MPIAcceptFilter

Gets or sets the Multi-Processor-Interface accept filter for the debugger.

MPIAcceptMode

Gets or set the Multi-Processor-Interface accept value for the debugger.

MPIRunArguments

Sets or gets the run arguments for Multi-Processor-Interface debugging.

MPIRunCommand

Sets or gets the name of the command to run under the Multi-Processor-Interface realm.

MPIRunWorkingDirectory

Sets or gets the Multi-Processor-Interface working directory.

PDBPath

Gets or sets the additional directories to search for symbol files.

Remote

Gets or sets local or remote debugging.

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.

RemoteMachine

When Remote specifies remote debugging, the RemoteMachine property specifies the name of the machine that contains the program to debug.

ShimCommand

Sets or gets the debugging shim command.

SQLDebugging

Enables SQL debugging for the project.

WorkingDirectory

The debugger's working directory. The default directory is the directory that contains the .vcxproj file.

Applies to