Partager via


IDebugDisassemblyStream2

This interface represents a stream of instructions.

IDebugDisassemblyStream2 : IUnknown

Notes for Implementers

A debug engine implements this interface to support disassembly of a program's code.

Notes for Callers

A call to the IDebugProgram2::GetDisassemblyStream method returns this interface.

Methods in Vtable Order

The following table shows the methods of IDebugDisassemblyStream2.

Method

Description

IDebugDisassemblyStream2::Read

Reads instructions starting from the current position in the disassembly stream.

IDebugDisassemblyStream2::Seek

Moves the read pointer in the disassembly stream a given number of instructions relative to a specified position.

IDebugDisassemblyStream2::GetCodeLocationId

Returns a code location identifier for a particular code context.

IDebugDisassemblyStream2::GetCodeContext

Returns a code context object corresponding to a specified code location identifier.

IDebugDisassemblyStream2::GetCurrentLocation

Returns a code location identifier that represents the current code location.

IDebugDisassemblyStream2::GetDocument

Gets the source document associated with this disassembly stream.

IDebugDisassemblyStream2::GetScope

Gets the scope of this disassembly stream.

IDebugDisassemblyStream2::GetSize

Gets the size of this disassembly stream.

Remarks

The disassembly stream can be created to represent the entire address space or just a function or module within the space. Each instruction is represented by a DisassemblyData structure returned by a call to the IDebugDisassemblyStream2::Read method.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

IDebugProgram2::GetDisassemblyStream

DisassemblyData

Concepts

Core Interfaces