Example #1
0
        public void Suspend()
        {
            //LogProvider.Log ("VM: Suspending ");

            vm.Suspend();
            if (VMSuspended != null)
            {
                var thread = vm.GetThreads().FirstOrDefault();
                //LogProvider.Log ("VM: thread " + thread.Name);
                if (thread != null)
                {
                    VMSuspended(new Event(Cache.Lookup <SdbThreadMirror> (thread)));
                }
            }
        }
Example #2
0
 public IList <ThreadMirror> GetThreads()
 {
     return(_vm.GetThreads());
 }