IVsDebugger.ToggleBreakpointByName(Guid, String) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Toggle a breakpoint at a named location in the program, such as a function name.
public:
int ToggleBreakpointByName(Guid % guidLanguage, System::String ^ pszCodeLocationText);
public int ToggleBreakpointByName (ref Guid guidLanguage, string pszCodeLocationText);
abstract member ToggleBreakpointByName : Guid * string -> int
Public Function ToggleBreakpointByName (ByRef guidLanguage As Guid, pszCodeLocationText As String) As Integer
- guidLanguage
- Guid
[in] The GUID for the language service such as SID_SVisualBasicLangService.
- pszCodeLocationText
- String
[in] String containing the name of the location to toggle the breakpoint.
If 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
);