public DebuggerPauseEventArgs(RuntimeAppDomain domain, RuntimeThread thread, PauseReason reason) : base(domain, false) { AppDomain = domain; Thread = thread; Reason = reason; }
public StepperEventArgs(RuntimeAppDomain domain, RuntimeThread thread, SourceStepper stepper) : base(domain, false) { Domain = domain; Thread = thread; Stepper = stepper; }
public void CreateAppDomain(ICorDebugProcess pProcess, ICorDebugAppDomain pAppDomain) { pAppDomain.Attach(); var process = GetProcessWrapper(pProcess); var domain = new RuntimeAppDomain(process, pAppDomain); Log("Created application domain {0}.", domain.Name); var eventArgs = new GenericDebuggerEventArgs <RuntimeAppDomain>(domain, process); process.DispatchAppDomainLoad(eventArgs); FinalizeEvent(eventArgs); }
public void UnloadModule(ICorDebugAppDomain pAppDomain, ICorDebugModule pModule) { RuntimeAppDomain runtimeDomain = GetProcessWrapper(pAppDomain).GetAppDomain(pAppDomain); ICorDebugAssembly comAssembly; pModule.GetAssembly(out comAssembly); RuntimeAssembly runtimeAssembly = runtimeDomain.GetAssembly(comAssembly); var runtimeModule = runtimeAssembly.GetModule(pModule); Log("Unloaded module."); var eventArgs = new GenericDebuggerEventArgs <RuntimeModule>(runtimeModule, runtimeDomain); runtimeAssembly.DispatchModuleUnloadEvent(eventArgs); FinalizeEvent(eventArgs); }
internal RuntimeAssembly(RuntimeAppDomain domain, ICorDebugAssembly comAssembly) { _domain = domain; _comAssembly = comAssembly; }
public DebuggeeExceptionEventArgs(RuntimeAppDomain domain, RuntimeThread thread, uint offset, CorDebugExceptionCallbackType exceptionType) : base(domain, thread, PauseReason.Exception) { Offset = offset; ExceptionType = exceptionType; }
public BreakpointEventArgs(RuntimeAppDomain domain, RuntimeThread thread, Breakpoint breakpoint) : base(domain, thread, PauseReason.Break) { Breakpoint = breakpoint; }
internal RuntimeThread(RuntimeAppDomain domain, ICorDebugThread comThread) { _domain = domain; _comThread = comThread; }
public void CreateAppDomain(ICorDebugProcess pProcess, ICorDebugAppDomain pAppDomain) { pAppDomain.Attach(); var process = GetProcessWrapper(pProcess); var domain = new RuntimeAppDomain(process, pAppDomain); Log("Created application domain {0}.", domain.Name); var eventArgs = new GenericDebuggerEventArgs<RuntimeAppDomain>(domain, process); process.DispatchAppDomainLoad(eventArgs); FinalizeEvent(eventArgs); }