コード例 #1
0
 /// <summary>
 /// Closes any open connection, searches for DoW2 and injects the ForwardOperationsBase.
 /// </summary>
 public static void StartDebugging()
 {
     LoggingManager.SendMessage("DebugManager - Advanced mode started");
     if (s_client != null)
     {
         try
         {
             s_client.Close();
         }
         catch (Exception)
         {
         }
         s_client = null;
     }
     ClearLog();
     if (s_window == null || s_window.IsDisposed)
         s_window = new DebugWindow();
     ThreadPool.QueueUserWorkItem(Inject);
     ShowDebugWindow();
 }
コード例 #2
0
 public static void ShowDebugWindow()
 {
     if (s_window == null || s_window.IsDisposed)
         s_window = new DebugWindow();
     s_window.Show();
 }