This topic has not yet been rated - Rate this topic

IVsDebugger.IsBreakpointOnName Method

Tests for a breakpoint set on a named location.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int IsBreakpointOnName(
	ref Guid guidLanguage,
	string pszCodeLocationText,
	out int pfIsBreakpoint
)

Parameters

guidLanguage
Type: System.Guid%
[in] ] The GUID for the language service such as SID_SVisualBasicLangService.
pszCodeLocationText
Type: System.String
[in] String containing the name of the location to test for a breakpoint, such as a function name.
pfIsBreakpoint
Type: System.Int32%
[out] Set to true if the breakpoint is set; otherwise set to false.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

COM Signature

From vsshell.idl:

HRESULT IVsDebugger::IsBreakpointOnName(
   [in] REFGUID guidLanguage,
   [in] LPCOLESTR pszCodeLocationText,
   [out] BOOL* pfIsBreakpoint
);
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ