Delen via


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)

Syntax

'Declaration
Public Structure VsDebugTargetInfo2
public struct VsDebugTargetInfo2
public value class VsDebugTargetInfo2
[<Sealed>]
type VsDebugTargetInfo2 =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The VsDebugTargetInfo2 type exposes the following members.

Methods

  Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from ValueType.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Fields

  Name Description
Public field bstrArg BSTR containing the command line arguments to the exe (DLO_CreateProcess).
Public field bstrCurDir BSTR containing the current directory (DLO_CreateProcess).
Public field bstrEnv BSTR containing the environment settings (DLO_CreateProcess).
Public field bstrExe BSTR containing the name of the executable.
Public field bstrOptions BSTR containing custom options specific to each debugger (nulla null reference (Nothing in Visual Basic) is recommended).
Public field bstrPortName BSTR containing the name of the port from the supplier specified in guidPortSupplier. (Can be nulla null reference (Nothing in Visual Basic)).
Public field bstrRemoteMachine BSTR containing the machine name for a remote machine. Use nulla null reference (Nothing in Visual Basic) for the local machine.
Public field cbSize Specifies the size of the VsDebugTargetInfo2 struct.
Public field dlo Specifies how this process should be launched or attached.
Public field dwDebugEngineCount Specifies the number of debug engine GUIDs in the guidLaunchDebugEngine array.
Public field dwProcessId Specifies the process id (DLO_AlreadyRunning).
Public field dwReserved Reserved for future use - specify nulla null reference (Nothing in Visual Basic).
Public field fSendToOutputWindow BOOL - if true, stdout and stderr are to be routed to the output window.
Public field guidLaunchDebugEngine Specifies the guid of the debug engine used for launch (DLO_CreateProcess)
Public field guidPortSupplier Specifies the GUID of the port supplier.
Public field guidProcessLanguage Specifies the language of the hosting process. Used to preload expression evaluators.
Public field hStdError The stderr handle.
Public field hStdInput The stdin handle.
Public field hStdOutput The stdout handle.
Public field LaunchFlags Specifies the launch flags that were passed to DebugLaunch.
Public field pDebugEngines Specifies an array of debug engine guids, or nulla null reference (Nothing in Visual Basic) if dwDebugEngineCount is zero.
Public field pUnknown Specifies an interface pointer - usage depends on DEBUG_LAUNCH_OPERATION.

Top

Thread Safety

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

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace