Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2010
Visual Studio
Visual Studio SDK
IVsDebugger Methods
 InsertBreakpointByName Method
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2010/.NET Framework 4

Other versions are also available for the following:
Visual Studio SDK
IVsDebugger..::.InsertBreakpointByName Method

Inserts a breakpoint at a named location in the program, such as a function name.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Visual Basic
Function InsertBreakpointByName ( _
    ByRef guidLanguage As Guid, _
    pszCodeLocationText As String _
) As Integer
C#
int InsertBreakpointByName(
    ref Guid guidLanguage,
    string pszCodeLocationText
)
Visual C++
int InsertBreakpointByName(
    [InAttribute] Guid% guidLanguage, 
    [InAttribute] String^ pszCodeLocationText
)
F#
abstract InsertBreakpointByName : 
        guidLanguage:Guid byref * 
        pszCodeLocationText:string -> int 
JScript
function InsertBreakpointByName(
    guidLanguage : Guid, 
    pszCodeLocationText : String
) : int

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.

Return Value

Type: System..::.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

COM Signature

From vsshell.idl:

Visual C++
HRESULT IVsDebugger::InsertBreakpointByName(
   [in] REFGUID guidLanguage,
   [in] LPCOLESTR pszCodeLocationText
);
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker