Example #1
0
 private void PauseProcess_Elapsed(object sender, ElapsedEventArgs e)
 {
     // Debug all processes
     foreach (OSDProcess o in ProcessList.Where(p => p.PID != null))
     {
         PTSDebug.PauseProcess((int)o.PID);
     }
 }
Example #2
0
 private void UnpauseProcess_Elapsed(object sender, ElapsedEventArgs e)
 {
     // Remove all debugs
     foreach (OSDProcess o in ProcessList.Where(p => p.PID != null))
     {
         PTSDebug.UnpauseProcess((int)o.PID);
     }
 }