共用方式為


VsDebugTargetInfo2 Struct

Definition

Provides information about a debug target.

public value class VsDebugTargetInfo2
struct VsDebugTargetInfo2
[System.Runtime.InteropServices.ComConversionLoss]
public struct VsDebugTargetInfo2
[<System.Runtime.InteropServices.ComConversionLoss>]
type VsDebugTargetInfo2 = struct
Public Structure VsDebugTargetInfo2
Inheritance
VsDebugTargetInfo2
Attributes

Fields

bstrArg

BSTR containing the command line arguments to the exe (DLO_CreateProcess).

bstrCurDir

BSTR containing the current directory (DLO_CreateProcess).

bstrEnv

BSTR containing the environment settings (DLO_CreateProcess).

bstrExe

BSTR containing the name of the executable.

bstrOptions

BSTR containing custom options specific to each debugger (null is recommended).

bstrPortName

BSTR containing the name of the port from the supplier specified in guidPortSupplier. (Can be null).

bstrRemoteMachine

BSTR containing the machine name for a remote machine. Use null for the local machine.

cbSize

Specifies the size of the VsDebugTargetInfo2 struct.

dlo

Specifies how this process should be launched or attached.

dwDebugEngineCount

Specifies the number of debug engine GUIDs in the guidLaunchDebugEngine array.

dwProcessId

Specifies the process id (DLO_AlreadyRunning).

dwReserved

Reserved for future use - specify null.

fSendToOutputWindow

BOOL - if true, stdout and stderr are to be routed to the output window.

guidLaunchDebugEngine

Specifies the guid of the debug engine used for launch (DLO_CreateProcess)

guidPortSupplier

Specifies the GUID of the port supplier.

guidProcessLanguage

Specifies the language of the hosting process. Used to preload expression evaluators.

hStdError

The stderr handle.

hStdInput

The stdin handle.

hStdOutput

The stdout handle.

LaunchFlags

Specifies the launch flags that were passed to DebugLaunch(UInt32).

pDebugEngines

Specifies an array of debug engine guids, or null if dwDebugEngineCount is zero.

pUnknown

Specifies an interface pointer - usage depends on DEBUG_LAUNCH_OPERATION.

Applies to