업데이트: 2007년 11월
실행 파일이나 DLL(동적 연결 라이브러리)인 CLR(공용 언어 런타임) 모듈을 나타냅니다.
interface ICorDebugModule : IUnknown {
HRESULT _stdcall GetProcess([out] ICorDebugProcess** ppProcess);
HRESULT _stdcall GetBaseAddress([out] uint64* pAddress);
HRESULT _stdcall GetAssembly([out] ICorDebugAssembly** ppAssembly);
HRESULT _stdcall GetName(
[in] unsigned int cchName,
[out] unsigned int* pcchName,
[out] ICorDebugModule szName);
HRESULT _stdcall EnableJITDebugging(
[in] long bTrackJITInfo,
[in] long bAllowJitOpts);
HRESULT _stdcall EnableClassLoadCallbacks([in] long bClassLoadCallbacks);
HRESULT _stdcall GetFunctionFromToken(
[in] unsigned int methodDef,
[out] ICorDebugFunction** ppFunction);
HRESULT _stdcall GetFunctionFromRVA(
[in] uint64 rva,
[out] ICorDebugFunction** ppFunction);
HRESULT _stdcall GetClassFromToken(
[in] unsigned int typeDef,
[out] ICorDebugClass** ppClass);
HRESULT _stdcall CreateBreakpoint([out] ICorDebugModuleBreakpoint** ppBreakpoint);
HRESULT _stdcall GetEditAndContinueSnapshot([out] ICorDebugEditAndContinueSnapshot** ppEditAndContinueSnapshot);
HRESULT _stdcall GetMetaDataInterface(
[in] GUID* riid,
[out] IUnknown** ppObj);
HRESULT _stdcall GetToken([out] unsigned int* pToken);
HRESULT _stdcall IsDynamic([out] long* pDynamic);
HRESULT _stdcall GetGlobalVariableValue(
[in] unsigned int fieldDef,
[out] ICorDebugValue** ppValue);
HRESULT _stdcall GetSize([out] unsigned int* pcBytes);
HRESULT _stdcall IsInMemory([out] long* pInMemory);
};
메서드
메서드 |
설명 |
|---|---|
구현되지 않았습니다. |
|
이 모듈에 대해 ICorDebugManagedCallback::LoadClass 및 ICorDebugManagedCallback::UnloadClass 콜백이 호출되었는지 여부를 확인합니다. |
|
JIT(Just-In-Time) 컴파일러에서 이 모듈의 메서드에 대한 디버깅 정보를 유지할지 여부를 결정합니다. |
|
이 모듈에 대한 포함 어셈블리를 가져옵니다. |
|
모듈의 기준 주소를 가져옵니다. |
|
메타데이터에서 ICorDebugClass를 가져옵니다. |
|
더 이상 사용되지 않습니다. |
|
구현되지 않았습니다. |
|
메타데이터 토큰으로 지정된 함수를 가져옵니다. |
|
지정한 전역 변수의 값 개체를 가져옵니다. |
|
모듈에 대한 메타데이터를 검사하는 데 사용할 수 있는 메타데이터 인터페이스 포인터를 가져옵니다. |
|
모듈의 파일 이름을 가져옵니다. |
|
이 모듈에 대한 포함하는 프로세스를 가져옵니다. |
|
모듈의 크기(바이트)를 가져옵니다. |
|
이 모듈의 테이블 엔트리에 대한 토큰을 가져옵니다. |
|
모듈이 동적인지 여부를 나타냅니다. |
|
이 모듈이 메모리에만 있는지 여부를 나타냅니다. |
요구 사항
플랫폼:.NET Framework 시스템 요구 사항 참조
헤더: CorDebug.idl
라이브러리: CorGuids.lib
.NET Framework 버전: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0