Udostępnij przez


ICorDebugCode, interfejs

Reprezentuje segment kodu wspólnego języka pośredniego (CIL) lub kodu natywnego.

Methods

Metoda Description
CreateBreakpoint, metoda Tworzy punkt przerwania z określonym przesunięciem.
GetAddress, metoda Pobiera względny adres wirtualny (RVA) segmentu kodu, który reprezentuje ICorDebugCode .
GetCode, metoda Pobiera cały kod określonej funkcji sformatowany do dezasemblacji. Ta metoda została przestarzała; Zamiast tego użyj elementu ICorDebugCode2::GetCodeChunks .
GetEnCRemapSequencePoints, metoda Nie zaimplementowano.
GetFunction, metoda Pobiera element "ICorDebugFunction" skojarzony z tym ICorDebugCodeelementem .
GetILToNativeMapping, metoda Pobiera tablicę wystąpień "COR_DEBUG_IL_TO_NATIVE_MAP", które reprezentują mapowania z przesunięć CIL na natywne przesunięcia.
GetSize, metoda Pobiera rozmiar w bajtach kodu binarnego reprezentowanego przez ten ICorDebugCodeelement .
GetVersionNumber, metoda Pobiera numer oparty na jednym, który identyfikuje wersję kodu, który reprezentuje ICorDebugCode .
IsIL, metoda Pobiera wartość wskazującą, czy jest on ICorDebugCode kompilowany w wzorniku CIL.

Uwagi

ICorDebugCode może reprezentować kod CIL lub natywny. Obiekt "ICorDebugFunction", który reprezentuje kod CIL, może mieć skojarzony zero lub jeden ICorDebugCode obiekt. Obiekt "ICorDebugFunction", który reprezentuje kod natywny, może mieć skojarzona z nim dowolną liczbę ICorDebugCode obiektów.

Uwaga / Notatka

Ten interfejs nie obsługuje wywoływanego zdalnie, między maszynami lub między procesami.

Requirements

Platformy: Zobacz Obsługiwane systemy operacyjne platformy .NET.

Nagłówek: CorDebug.idl, CorDebug.h

Biblioteka: CorGuids.lib

Wersje platformy .NET: Dostępne od programu .NET Framework 1.0

Zobacz także