IVsDebugger::ToggleBreakpointByName Method (Guid, String^)
Visual Studio 2015
Toggle a breakpoint at a named location in the program, such as a function name.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int ToggleBreakpointByName(
[InAttribute] Guid% guidLanguage,
String^ pszCodeLocationText
)
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 toggle the breakpoint.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsDebugger::ToggleBreakpointByName( [in] REFGUID guidLanguage, [in] LPCOLESTR pszCodeLocationText );
Show: