IVsDebugger.RemoveBreakpointsByName Method (Guid, String)


Removes a breakpoint at a named location in the program, such as a function name.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int RemoveBreakpointsByName(
	[InAttribute] ref Guid guidLanguage,
	string pszCodeLocationText


Type: System.Guid

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

Type: System.String

[in] String containing the name of the location to set the breakpoint.

Return Value

Type: System.Int32

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

From vsshell.idl:

HRESULT IVsDebugger::RemoveBreakpointsByName(
   [in] REFGUID guidLanguage,
   [in] LPCOLESTR pszCodeLocationText
Return to top