VsDebugTargetInfo2 Structure

Provides information about a debug target.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

public struct VsDebugTargetInfo2

The VsDebugTargetInfo2 type exposes the following members.

Public methodEqualsIndicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeReturns the hash code for this instance. (Inherited from ValueType.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns the fully qualified type name of this instance. (Inherited from ValueType.)

Public fieldbstrArgBSTR containing the command line arguments to the exe (DLO_CreateProcess).
Public fieldbstrCurDirBSTR containing the current directory (DLO_CreateProcess).
Public fieldbstrEnvBSTR containing the environment settings (DLO_CreateProcess).
Public fieldbstrExeBSTR containing the name of the executable.
Public fieldbstrOptionsBSTR containing custom options specific to each debugger (null is recommended).
Public fieldbstrPortNameBSTR containing the name of the port from the supplier specified in guidPortSupplier. (Can be null).
Public fieldbstrRemoteMachineBSTR containing the machine name for a remote machine. Use null for the local machine.
Public fieldcbSizeSpecifies the size of the VsDebugTargetInfo2 struct.
Public fielddloSpecifies how this process should be launched or attached.
Public fielddwDebugEngineCountSpecifies the number of debug engine GUIDs in the guidLaunchDebugEngine array.
Public fielddwProcessIdSpecifies the process id (DLO_AlreadyRunning).
Public fielddwReservedReserved for future use - specify null.
Public fieldfSendToOutputWindowBOOL - if true, stdout and stderr are to be routed to the output window.
Public fieldguidLaunchDebugEngineSpecifies the guid of the debug engine used for launch (DLO_CreateProcess)
Public fieldguidPortSupplierSpecifies the GUID of the port supplier.
Public fieldguidProcessLanguageSpecifies the language of the hosting process. Used to preload expression evaluators.
Public fieldhStdErrorThe stderr handle.
Public fieldhStdInputThe stdin handle.
Public fieldhStdOutputThe stdout handle.
Public fieldLaunchFlagsSpecifies the launch flags that were passed to DebugLaunch.
Public fieldpDebugEnginesSpecifies an array of debug engine guids, or null if dwDebugEngineCount is zero.
Public fieldpUnknownSpecifies an interface pointer - usage depends on DEBUG_LAUNCH_OPERATION.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions