Freigeben über


IVsDebuggableProjectCfg2.OnBeforeDebugLaunch(UInt32) Method

Definition

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

public:
 int OnBeforeDebugLaunch(System::UInt32 grfLaunch);
public:
 int OnBeforeDebugLaunch(unsigned int grfLaunch);
int OnBeforeDebugLaunch(unsigned int grfLaunch);
public int OnBeforeDebugLaunch (uint grfLaunch);
abstract member OnBeforeDebugLaunch : uint32 -> int
Public Function OnBeforeDebugLaunch (grfLaunch As UInteger) As Integer

Parameters

grfLaunch
UInt32

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

Returns

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

Remarks

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.

Applies to