|
2 | 2 | title: "CODE_PATH | Microsoft Docs"
|
3 | 3 | ms.date: "11/04/2016"
|
4 | 4 | ms.topic: "conceptual"
|
5 |
| -f1_keywords: |
| 5 | +f1_keywords: |
6 | 6 | - "CODE_PATH"
|
7 |
| -helpviewer_keywords: |
| 7 | +helpviewer_keywords: |
8 | 8 | - "CODE_PATH structure"
|
9 | 9 | ms.assetid: 2d4b2890-4c9d-47e1-83c0-df9c6436427f
|
10 | 10 | author: "gregvanl"
|
11 | 11 | ms.author: "gregvanl"
|
12 | 12 | manager: jillfra
|
13 |
| -ms.workload: |
| 13 | +ms.workload: |
14 | 14 | - "vssdk"
|
15 | 15 | ---
|
16 | 16 | # CODE_PATH
|
17 |
| -Describes a method or function call. |
18 |
| - |
19 |
| -## Syntax |
20 |
| - |
21 |
| -```cpp |
22 |
| -typedef struct tagCODE_PATH { |
23 |
| - BSTR bstrName; |
24 |
| - IDebugCodeContext2* pCode; |
25 |
| -} CODE_PATH; |
26 |
| -``` |
27 |
| - |
28 |
| -```csharp |
29 |
| -public struct CODE_PATH { |
30 |
| - public string bstrName; |
31 |
| - public IDebugCodeContext pCode; |
32 |
| -} |
33 |
| -``` |
34 |
| - |
35 |
| -## Members |
36 |
| - bstrName |
37 |
| - The name of the code path. |
38 |
| - |
39 |
| - pCode |
40 |
| - The [IDebugCodeContext2](../../../extensibility/debugger/reference/idebugcodecontext2.md) object that identifies where in the code to step into a function. |
41 |
| - |
42 |
| -## Remarks |
43 |
| - This structure is used to implement stepping into a function. [EnumCodePaths](../../../extensibility/debugger/reference/idebugprogram2-enumcodepaths.md) returns all the calls from the current location in the program being debugged. This structure represents one such call. |
44 |
| - |
45 |
| -## Requirements |
46 |
| - Header: msdbg.h |
47 |
| - |
48 |
| - Namespace: Microsoft.VisualStudio.Debugger.Interop |
49 |
| - |
50 |
| - Assembly: Microsoft.VisualStudio.Debugger.Interop.dll |
51 |
| - |
52 |
| -## See Also |
53 |
| - [Structures and Unions](../../../extensibility/debugger/reference/structures-and-unions.md) |
54 |
| - [IDebugCodeContext2](../../../extensibility/debugger/reference/idebugcodecontext2.md) |
55 |
| - [EnumCodePaths](../../../extensibility/debugger/reference/idebugprogram2-enumcodepaths.md) |
| 17 | +Describes a method or function call. |
| 18 | + |
| 19 | +## Syntax |
| 20 | + |
| 21 | +```cpp |
| 22 | +typedef struct tagCODE_PATH { |
| 23 | + BSTR bstrName; |
| 24 | + IDebugCodeContext2* pCode; |
| 25 | +} CODE_PATH; |
| 26 | +``` |
| 27 | +
|
| 28 | +```csharp |
| 29 | +public struct CODE_PATH { |
| 30 | + public string bstrName; |
| 31 | + public IDebugCodeContext pCode; |
| 32 | +} |
| 33 | +``` |
| 34 | + |
| 35 | +## Members |
| 36 | +bstrName |
| 37 | +The name of the code path. |
| 38 | + |
| 39 | +pCode |
| 40 | +The [IDebugCodeContext2](../../../extensibility/debugger/reference/idebugcodecontext2.md) object that identifies where in the code to step into a function. |
| 41 | + |
| 42 | +## Remarks |
| 43 | +This structure is used to implement stepping into a function. [EnumCodePaths](../../../extensibility/debugger/reference/idebugprogram2-enumcodepaths.md) returns all the calls from the current location in the program being debugged. This structure represents one such call. |
| 44 | + |
| 45 | +## Requirements |
| 46 | +Header: msdbg.h |
| 47 | + |
| 48 | +Namespace: Microsoft.VisualStudio.Debugger.Interop |
| 49 | + |
| 50 | +Assembly: Microsoft.VisualStudio.Debugger.Interop.dll |
| 51 | + |
| 52 | +## See Also |
| 53 | +[Structures and Unions](../../../extensibility/debugger/reference/structures-and-unions.md) |
| 54 | +[IDebugCodeContext2](../../../extensibility/debugger/reference/idebugcodecontext2.md) |
| 55 | +[EnumCodePaths](../../../extensibility/debugger/reference/idebugprogram2-enumcodepaths.md) |
0 commit comments