public MDANotificationDebugCallbackEventArgs(ICorDebugController pController, ICorDebugThread pThread, ICorDebugMDA pMDA) : base(pController) { Controller = pController; Thread = pThread; MDA = pMDA; }
public void MDANotification(ICorDebugController c, ICorDebugThread t, ICorDebugMDA mda) { ManagedCallback managedCallback = GetProcessCallbackInterface(c); if (managedCallback != null) { managedCallback.MDANotification(c, t, mda); } }
void ICorDebugManagedCallback2.MDANotification( ICorDebugController pController, ICorDebugThread thread, ICorDebugMDA pMDA) { if (DebugOutput) { Console.WriteLine("info: MDANotification2"); } pController.Continue(0); }
public void MDANotification(ICorDebugController c, ICorDebugThread t, ICorDebugMDA mda) { if (c.Is <ICorDebugAppDomain>()) { EnterCallback(PausedReason.Other, "MDANotification", c.CastTo <ICorDebugAppDomain>()); } else if (c.Is <ICorDebugProcess>()) { EnterCallback(PausedReason.Other, "MDANotification", c.CastTo <ICorDebugProcess>()); } else { throw new System.Exception("Unknown callback argument"); } ExitCallback_Continue(); }
/// <exception cref="Exception">Unknown callback argument</exception> public void MDANotification(ICorDebugController c, ICorDebugThread t, ICorDebugMDA mda) { if (c is ICorDebugAppDomain) { EnterCallback(PausedReason.Other, "MDANotification", (ICorDebugAppDomain)c); } else if (c is ICorDebugProcess) { EnterCallback(PausedReason.Other, "MDANotification", (ICorDebugProcess)c); } else { throw new System.Exception("Unknown callback argument"); } ExitCallback(); }
void ICorDebugManagedCallback2.MDANotification(ICorDebugController pController, ICorDebugThread pThread, ICorDebugMDA pMDA) { // TODO nothing for now }
public void MDANotification(ICorDebugController pController, ICorDebugThread pThread, ICorDebugMDA pMDA) { try { _EnterCallback(); lock (dbgproc) { string desc; { uint len = 0; pMDA.GetDescription(len, out len, IntPtr.Zero); IntPtr pdesc = Marshal.AllocHGlobal((int)len * 2); pMDA.GetDescription(len, out len, pdesc); desc = Marshal.PtrToStringUni(pdesc, (int)len); if (desc.EndsWith("\0")) { desc = desc.Substring(0, desc.Length - 1); } Marshal.FreeHGlobal(pdesc); } dbgproc.dout.WriteLine("MDA notification: {0}", desc); } _CallbackEvent("MDANotification", true); } catch (Exception e) { _CallbackException(e); } }
public virtual void MDANotification(ICorDebugController controller, ICorDebugThread thread, ICorDebugMDA mda) { this.DefaultHandler(controller); }
public void MDANotification(ICorDebugController pController, ICorDebugThread pThread, ICorDebugMDA pMDA) { pController.Continue(0); }
public MDANotificationDebugCallbackEventArgs(ICorDebugController pController, ICorDebugThread pThread, ICorDebugMDA pMDA) : base(pController) { this.Controller = pController; this.Thread = pThread; this.MDA = pMDA; }
public void MDANotification(ICorDebugController c, ICorDebugThread t, ICorDebugMDA mda) { ManagedCallback managedCallback = GetProcessCallbackInterface("MDANotification", c); if (managedCallback != null) { managedCallback.MDANotification(c, t, mda); } }
public void MDANotification([In, MarshalAs(UnmanagedType.Interface)] ICorDebugController pController, [In, MarshalAs(UnmanagedType.Interface)] ICorDebugThread pThread, [In, MarshalAs(UnmanagedType.Interface)] ICorDebugMDA pMDA) { throw new NotImplementedException(); }
public void MDANotification(ICorDebugController pController, ICorDebugThread pThread, ICorDebugMDA pMDA) { Console.WriteLine("MDANotification"); pController.Continue(0); }
public void MDANotification(ICorDebugController pController, ICorDebugThread pThread, ICorDebugMDA pMDA) { HandleEvent(pController); }
/// <exception cref="Exception">Unknown callback argument</exception> public void MDANotification(ICorDebugController c, ICorDebugThread t, ICorDebugMDA mda) { if (c is ICorDebugAppDomain) { EnterCallback("MDANotification", (ICorDebugAppDomain)c); } else if (c is ICorDebugProcess){ EnterCallback("MDANotification", (ICorDebugProcess)c); } else { throw new System.Exception("Unknown callback argument"); } ExitCallback(); }
public void MDANotification(ICorDebugController c, ICorDebugThread t, ICorDebugMDA mda) { if (c.Is<ICorDebugAppDomain>()) { EnterCallback(PausedReason.Other, "MDANotification", c.CastTo<ICorDebugAppDomain>()); } else if (c.Is<ICorDebugProcess>()){ EnterCallback(PausedReason.Other, "MDANotification", c.CastTo<ICorDebugProcess>()); } else { throw new System.Exception("Unknown callback argument"); } ExitCallback_Continue(); }
public virtual void MDANotification(ICorDebugController pController, ICorDebugThread pThread, ICorDebugMDA pMDA) { pController.Continue(0); }
public void MDANotification(ICorDebugController pController, ICorDebugThread pThread, ICorDebugMDA pMDA) { throw new NotImplementedException(); }
internal CorMDA(ICorDebugMDA mda) : base(mda) { m_mda = mda; }
void ICorDebugManagedCallback2.MDANotification(ICorDebugController pController, ICorDebugThread thread, ICorDebugMDA pMDA) { CorMDA c = new CorMDA(pMDA); string szName = c.Name; CorDebugMDAFlags f = c.Flags; CorProcess p = GetProcessFromController(pController); HandleEvent(ManagedCallbackType.OnMDANotification, new CorMDAEventArgs(c, thread == null ? null : new CorThread(thread), p, ManagedCallbackType.OnMDANotification)); }