IVsDebugger.InsertBreakpointByName(Guid, String) Method
Definition
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.
Inserts a breakpoint at a named location in the program, such as a function name.
public:
int InsertBreakpointByName(Guid % guidLanguage, System::String ^ pszCodeLocationText);
public int InsertBreakpointByName (ref Guid guidLanguage, string pszCodeLocationText);
abstract member InsertBreakpointByName : Guid * string -> int
Public Function InsertBreakpointByName (ByRef guidLanguage As Guid, pszCodeLocationText As String) As Integer
Parameters
- guidLanguage
- Guid
[in] The GUID for the language service such as SID_SVisualBasicLangService.
- pszCodeLocationText
- String
[in] String containing the name of the location to set the breakpoint.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsDebugger::InsertBreakpointByName(
[in] REFGUID guidLanguage,
[in] LPCOLESTR pszCodeLocationText
);