共用方式為


CODE_PATH

Describes a method or function call.

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. IDebugProgram2::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

Reference

Structures and Unions

IDebugCodeContext2

IDebugProgram2::EnumCodePaths