다음을 통해 공유


IVsDebugger.ToggleBreakpointByName(Guid, String) Method

Definition

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

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 toggle 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::ToggleBreakpointByName(  
   [in] REFGUID guidLanguage,  
   [in] LPCOLESTR pszCodeLocationText  
);  

Applies to