Método IVsDebugger2.InsertBreakpointByName (Guid, String, Int32)

 

Publicado: abril de 2016

Insere um ponto de interrupção em um local nomeado no programa, como, por exemplo, um nome de função.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (em Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Sintaxe

int InsertBreakpointByName(
    [InAttribute] ref Guid guidLanguage,
    string pszCodeLocationText,
    int bUseIntellisense
)
int InsertBreakpointByName(
    [InAttribute] Guid% guidLanguage,
    String^ pszCodeLocationText,
    int bUseIntellisense
)
abstract InsertBreakpointByName : 
        guidLanguage:Guid byref *
        pszCodeLocationText:string *
        bUseIntellisense:int -> int
Function InsertBreakpointByName (
    <InAttribute> ByRef guidLanguage As Guid,
    pszCodeLocationText As String,
    bUseIntellisense As Integer
) As Integer

Parâmetros

  • guidLanguage
    [in] O GUID para o serviço de linguagem, como SID_SVisualBasicLangService.
  • pszCodeLocationText
    [in] A seqüência de caracteres que contém o nome do local para definir o ponto de interrupção.
  • bUseIntellisense
    [in] Valor booleano que especifica se usar o Intellisense ao resolver o nome do ponto de interrupção.

Valor de retorno

Type: System.Int32

Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.

Comentários

COM assinatura

De vsshell80.idl:

HRESULT InsertBreakpointByName(
    [in] REFGUID guidLanguage,
    [in] LPCOLESTR pszCodeLocationText,
    [in] BOOL bUseIntellisense
);

Consulte também

Interface IVsDebugger2
Namespace Microsoft.VisualStudio.Shell.Interop

Retornar ao topo