IVsDebugger4::LaunchDebugTargets4 Method (UInt32, array<VsDebugTargetInfo4>^, array<VsDebugTargetProcessInfo>^)

 

Launches the specified debug targets.

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

void LaunchDebugTargets4(
	unsigned int DebugTargetCount,
	array<VsDebugTargetInfo4>^ pDebugTargets,
	array<VsDebugTargetProcessInfo>^ pLaunchResults
)

Parameters

DebugTargetCount
Type: System::UInt32

[in] Number of debug targets.

pDebugTargets
Type: array<Microsoft.VisualStudio.Shell.Interop::VsDebugTargetInfo4>^

[in, size_is(DebugTargetCount)] List of debug targets.

pLaunchResults
Type: array<Microsoft.VisualStudio.Shell.Interop::VsDebugTargetProcessInfo>^

[out, size_is(DebugTargetCount)] List of process identifiers (PIDs) and creation times for the debug targets. PIDs are only returned when DLO_CreateProcess/DLO_Custom and DLO_LaunchBrowser are specified when a new browser process is started (non-attach case).

This method extends LaunchDebugTargets3 by adding support for launching Windows Store apps, Windows Phone apps, and for newly-launched processes that are sitting at the initial suspension point. The functionality in the previous versions of the API is still present (for example, desktop applications can still be launched).

Return to top
Show: