共用方式為


CODE_PATH

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Describes a method or function call.

Syntax

typedef struct tagCODE_PATH { 
    BSTR                bstrName;
    IDebugCodeContext2* pCode;
} CODE_PATH;
public struct CODE_PATH {
    public string            bstrName;
    public IDebugCodeContext pCode;
}

Members

bstrName
The name of the code path.

pCode
The IDebugCodeContext2 object that identifies where in the code to step into a function.

Remarks

This structure is used to implement stepping into a function. EnumCodePaths returns all the calls from the current location in the program being debugged. This structure represents one such call.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also