private void SendProgramEvent(IDebugProgramNode2 programNode, enum_EVENTATTRIBUTES attributes, Guid iidEvent) { CorDebugProcess process = GetProcess(programNode); CorDebugAppDomain appDomain = GetAppDomain(programNode); IDebugEvent2 evt = new DebugEvent((uint)attributes); foreach (IDebugPortEvents2 dpe in m_cpDebugPortEvents2.Sinks) { dpe.Event(this.DebugPortSupplier.CoreServer, this, (IDebugProcess2)process, (IDebugProgram2)appDomain, evt, ref iidEvent); } }
private void SendProgramEvent(IDebugProgramNode2 programNode, enum_EVENTATTRIBUTES attributes, Guid iidEvent) { CorDebugProcess process = GetProcess( programNode ); CorDebugAppDomain appDomain = GetAppDomain( programNode ); IDebugEvent2 evt = new DebugEvent((uint) attributes); foreach (IDebugPortEvents2 dpe in m_cpDebugPortEvents2.Sinks) { dpe.Event(this.DebugPortSupplier.CoreServer, this, (IDebugProcess2)process, (IDebugProgram2) appDomain, evt, ref iidEvent); } }