ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater.PluginFramework/Core/ConfigPlugin.cs
(Generate patch)

Comparing trunk/RomCheater.PluginFramework/Core/ConfigPlugin.cs (file contents):
Revision 299 by william, Mon May 28 09:37:16 2012 UTC vs.
Revision 300 by william, Tue Jun 5 11:38:32 2012 UTC

# Line 1 | Line 1
1   //#define DISABLE_VERBOSE_LOGGING_FOR_PERFORMANCE_BOOST // when defined will disable verbose logging for performance speed-up
2 < #define DISALLOW_VERBOSE_LOGGING // when defined will disallow verbose logging for performance reasons
2 > //#define DISALLOW_VERBOSE_LOGGING // when defined will disallow verbose logging for performance reasons
3   #define ALLOW_SYSTEM_PROCESSES_TO_BE_INLUCDED // when defined system processes will be included in process list
4   using System;
5   using System.Collections.Generic;
# Line 71 | Line 71 | namespace RomCheater.PluginFramework.Cor
71                          proc_list.Add(container);
72                      }
73                      catch (FileNotFoundException) { }
74 <                    catch (Exception)
74 >                    catch (Exception ex)
75                      {
76                          //throw;
77                          #if !DISALLOW_VERBOSE_LOGGING
# Line 90 | Line 90 | namespace RomCheater.PluginFramework.Cor
90                      }                  
91                      //continue;
92                  }
93 <                catch (Exception)
93 >                catch (Exception ex)
94                  {
95                      #if !DISALLOW_VERBOSE_LOGGING
96                      logger.VerboseError.WriteLine("    not adding process {0} because it thew an exception [{1}]", proc_name, ex.ToString());

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines