Partilhar via


IEnumCodePaths2

This interface represents a list of code paths.

IEnumCodePaths2 : IUnknown

Notes for Implementers

The debug engine (DE) implements this interface to represent a list of code paths.

Notes for Callers

Call IDebugProgram2::EnumCodePaths to obtain this interface.

Methods in Vtable Order

The following table shows the methods of IEnumCodePaths2.

Method

Description

IEnumCodePaths2::Next

Retrieves a specified number of code paths in an enumeration sequence.

IEnumCodePaths2::Skip

Skips a specified number of code paths in an enumeration sequence.

IEnumCodePaths2::Reset

Resets an enumeration sequence to the beginning.

IEnumCodePaths2::Clone

Creates an enumerator that contains the same enumeration state as the current enumerator.

IEnumCodePaths2::GetCount

Gets the number of code paths in an enumerator.

Remarks

A code path represents a branch point or function call in a program. A list of code paths represents the path through which the code execution has taken.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Concepts

Core Interfaces