IVsLanguageDebugInfo3::GetValidBreakpointLineVariance Method (IVsTextBuffer^, Int32, Int32, Int32)

 

Gets the valid line variance for binding a breakpoint for a given source location.

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

void GetValidBreakpointLineVariance(
	IVsTextBuffer^ pBuffer,
	int iLine,
	int iCol,
	[OutAttribute] int% piVariance
)

Parameters

pBuffer
Type: Microsoft.VisualStudio.TextManager.Interop::IVsTextBuffer^

[in] Code buffer containing the candidate breakpoint.

iLine
Type: System::Int32

[in] Line for the candidate breakpoint.

iCol
Type: System::Int32

[in] Column for the candidate breakpoint.

piVariance
Type: System::Int32

[out] Number of lines below iLine within which to bind breakpoint. Value of -1 specifies the debugger default number of lines.

S_OK indicates that debugger will attempt to bind the breakpoint below the requested breakpoint, within the number of lines returned by this.

The debugger calls this function if ValidateBreakpointLocation returns E_NOIMPL.

Return to top
Show: