removed some Debugger.Log statements

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@624 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
wj32
2009-02-14 09:59:12 +00:00
parent 5b013c6f0c
commit c8ee970ffe
@@ -162,7 +162,6 @@ namespace ProcessHacker
private void ProcessFile(int pid, string fileName)
{
Debugger.Log(1, "ProcessSystemProvider.ProcessFile", "Processing PID " + pid.ToString() + ": " + fileName + "\n");
FileProcessResult fpResult = new FileProcessResult();
fpResult.PID = pid;
@@ -266,8 +265,6 @@ namespace ProcessHacker
catch
{ }
}
Debugger.Log(1, "ProcessSystemProvider.ProcessFile", "Finished PID " + pid.ToString() + ": " + fileName + "\n");
lock (_fpResults)
_fpResults.Enqueue(fpResult);
@@ -281,7 +278,7 @@ namespace ProcessHacker
if (this.RunCount % 3 == 0)
Win32.RefreshDriveDevicePrefixes();
Dictionary<int, int> tsProcesses = new Dictionary<int,int>();
Dictionary<int, int> tsProcesses = new Dictionary<int, int>();
Dictionary<int, Win32.SystemProcess> procs = Win32.EnumProcesses();
Dictionary<int, ProcessItem> newdictionary = new Dictionary<int, ProcessItem>(this.Dictionary);
Win32.WtsEnumProcessesFastData wtsEnumData = new Win32.WtsEnumProcessesFastData();
@@ -366,8 +363,6 @@ namespace ProcessHacker
{
var result = _fpResults.Dequeue();
Debugger.Log(1, "ProcessSystemProvider.UpdateOnce", "Dequeued PID " + result.PID.ToString() + "\n");
// Dictionary may contain items newdictionary doesn't contain,
// because we just removed terminated processes. However,
// the look-for-modified-processes section relies on Dictionary!
@@ -574,8 +569,6 @@ namespace ProcessHacker
if (pid > 0)
{
Debugger.Log(1, "ProcessSystemProvider.UpdateOnce", "Invoking file processing for PID " +
pid.ToString() + ": " + item.FileName + "\n");
(new ProcessFileDelegate(this.ProcessFile)).BeginInvoke(pid, item.FileName,
r => { }, null);
}