共用方式為


IDebugErrorBreakpoint2::GetPendingBreakpoint

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Gets the pending breakpoint that caused the error.

Syntax

HRESULT GetPendingBreakpoint ( 
   IDebugPendingBreakpoint2** ppPendingBreakpoint
);
int GetPendingBreakpoint ( 
   out IDebugPendingBreakpoint2 ppPendingBreakpoint
);

Parameters

ppPendingBreakpoint
[out] Returns an IDebugPendingBreakpoint2 object that represents the pending breakpoint that failed to be bound.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

See also