Export (0) Print
Expand All

IVsDebuggableProjectCfg2.OnBeforeDebugLaunch Method

Provides a method the implementer can use to perform necessary actions before the actual launch of the debugger.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in microsoft.visualstudio.shell.interop.8.0.dll)

int OnBeforeDebugLaunch (
	[InAttribute] uint grfLaunch
)
int OnBeforeDebugLaunch (
	/** @attribute InAttribute() */ UInt32 grfLaunch
)
function OnBeforeDebugLaunch (
	grfLaunch : uint
) : int

Parameters

grfLaunch

 [in] Flags determining how to start the debugger. For valid grfLaunch values, see __VSDBGLAUNCHFLAGS.

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

At the beginning of debugging, the solution build manager first calls OnBeforeDebugLaunch on each project supporting this interface. It then goes through the projects again and performs the actual call to DebugLaunch.

Community Additions

ADD
Show:
© 2015 Microsoft