Método IVsDebugger2.GetSymbolPath (String, String)

 

Publicado: abril de 2016

Obtém o símbolo atual configurações de caminho e o cache.

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

Sintaxe

int GetSymbolPath(
    out string pbstrSymbolPath,
    out string pbstrSymbolCachePath
)
int GetSymbolPath(
    [OutAttribute] String^% pbstrSymbolPath,
    [OutAttribute] String^% pbstrSymbolCachePath
)
abstract GetSymbolPath : 
        pbstrSymbolPath:string byref *
        pbstrSymbolCachePath:string byref -> int
Function GetSymbolPath (
    <OutAttribute> ByRef pbstrSymbolPath As String,
    <OutAttribute> ByRef pbstrSymbolCachePath As String
) As Integer

Parâmetros

  • pbstrSymbolPath
    [out] O caminho de símbolo atual.
  • pbstrSymbolCachePath
    [out] O caminho de cache de símbolo atual.

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

O caminho de símbolo, pbstrSymbolPath ou pbstrSymbolCachePath, é uma lista de locais de servidor de símbolos, separados por ponto e vírgula.Opcionalmente, pode começar com um ou mais locais de cache, seguidos por um ponto e vírgula.

O caminho de símbolo também pode conter um ou mais locais de cache.Os caches são listados em ordem de prioridade, com o cache de prioridade mais alto primeiro e separados por * símbolos.Por exemplo:

\\symbols\symbols;\\someotherserver\symbols;c:\symbols\httpsymbols*http://msdl.microsoft.com

COM assinatura

De vsshell80.idl:

HRESULT GetSymbolPath(
    [out] BSTR *pbstrSymbolPath,
    [out] BSTR *pbstrSymbolCachePath
);

Consulte também

Interface IVsDebugger2
Namespace Microsoft.VisualStudio.Shell.Interop

Retornar ao topo