Exemple #1
0
        public void MDANotification(ICorDebugController c, ICorDebugThread t, ICorDebugMDA mda)
        {
            ManagedCallback managedCallback = GetProcessCallbackInterface(c);

            if (managedCallback != null)
            {
                managedCallback.MDANotification(c, t, mda);
            }
        }
Exemple #2
0
 public ManagedCallback GetProcessCallbackInterface(ICorDebugController c)
 {
     if (c.Is <ICorDebugAppDomain>())
     {
         return(GetProcessCallbackInterface(c.CastTo <ICorDebugAppDomain>()));
     }
     else if (c.Is <ICorDebugProcess>())
     {
         return(GetProcessCallbackInterface(c.CastTo <ICorDebugProcess>()));
     }
     else
     {
         throw new System.Exception("Unknown callback argument");
     }
 }
Exemple #3
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();
        }