IVsDebugger2::InsertBreakpointByName Method (Guid, String^, Int32)
Visual Studio 2015
Inserts a breakpoint at a named location in the program, such as a function name.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
int InsertBreakpointByName( [InAttribute] Guid% guidLanguage, String^ pszCodeLocationText, int bUseIntellisense )
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 set the breakpoint.
- bUseIntellisense
-
Type:
System::Int32
[in] Boolean value specifying whether to use Intellisense when resolving the breakpoint name.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell80.idl:
HRESULT InsertBreakpointByName(
[in] REFGUID guidLanguage,
[in] LPCOLESTR pszCodeLocationText,
[in] BOOL bUseIntellisense
);
Show: