Udostępnij za pośrednictwem


IVsDebugger.IsBreakpointOnName(Guid, String, Int32) Method

Definition

Tests for a breakpoint set on a named location.

public:
 int IsBreakpointOnName(Guid % guidLanguage, System::String ^ pszCodeLocationText, [Runtime::InteropServices::Out] int % pfIsBreakpoint);
public int IsBreakpointOnName (ref Guid guidLanguage, string pszCodeLocationText, out int pfIsBreakpoint);
abstract member IsBreakpointOnName : Guid * string * int -> int
Public Function IsBreakpointOnName (ByRef guidLanguage As Guid, pszCodeLocationText As String, ByRef pfIsBreakpoint As Integer) As Integer

Parameters

guidLanguage
Guid

[in] ] The GUID for the language service such as SID_SVisualBasicLangService.

pszCodeLocationText
String

[in] String containing the name of the location to test for a breakpoint, such as a function name.

pfIsBreakpoint
Int32

[out] Set to true if the breakpoint is set; otherwise set to false.

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsDebugger::IsBreakpointOnName(  
   [in] REFGUID guidLanguage,  
   [in] LPCOLESTR pszCodeLocationText,  
   [out] BOOL* pfIsBreakpoint  
);  

Applies to