public unsafe void LoadModule(ICorDebugAppDomain pAppDomain, ICorDebugModule pModule) { EnterCallback(PausedReason.Other, "LoadModule", pAppDomain); process.AddModule(pModule); ExitCallback_Continue(); }
internal LoadDllNativeEvent( NativePipeline pipeline, ref DebugEventHeader header, ref DebugEventUnion union ) : base(pipeline, ref header, ref union) { Process.AddModule(new NativeDbgModule(Process, ReadImageName(), BaseAddressWorker, union.LoadDll.hFile)); }
internal CreateProcessDebugEvent( NativePipeline pipeline, ref DebugEventHeader header, ref DebugEventUnion union ) : base(pipeline, ref header, ref union) { Process.InitHandle(union.CreateProcess.hProcess); // Module name of main program is unavailable. Process.AddModule(new NativeDbgModule(Process, "<main program>", union.CreateProcess.lpBaseOfImage, union.CreateProcess.hFile)); }