[ros-diffs] [arty] 35365: Fix thread and process listing. Quite helpful.

arty at svn.reactos.org arty at svn.reactos.org
Sat Aug 16 05:30:23 CEST 2008


Author: arty
Date: Fri Aug 15 22:30:22 2008
New Revision: 35365

URL: http://svn.reactos.org/svn/reactos?rev=35365&view=rev
Log:
Fix thread and process listing.  Quite helpful.

Modified:
    trunk/tools/reactosdbg/DebugProtocol/KDBG.cs

Modified: trunk/tools/reactosdbg/DebugProtocol/KDBG.cs
URL: http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/DebugProtocol/KDBG.cs?rev=35365&r1=35364&r2=35365&view=diff
==============================================================================
--- trunk/tools/reactosdbg/DebugProtocol/KDBG.cs [iso-8859-1] (original)
+++ trunk/tools/reactosdbg/DebugProtocol/KDBG.cs [iso-8859-1] Fri Aug 15 22:30:22 2008
@@ -251,7 +251,7 @@
                         else
                         {
                             Match pidEntryMatch = mProcListEntry.Match(cleanedLine);
-                            if (pidEntryMatch.Success)
+                            if (pidEntryMatch.Success && mReceivingProcs)
                             {
                                 if (ProcessListEvent != null)
                                     ProcessListEvent(this, new ProcessListEventArgs(ulong.Parse(pidEntryMatch.Groups["pid"].ToString(), NumberStyles.HexNumber), pidEntryMatch.Groups["cur"].Length > 0));
@@ -275,7 +275,7 @@
                         else
                         {
                             Match tidEntryMatch = mThreadListEntry.Match(cleanedLine);
-                            if (tidEntryMatch.Success)
+                            if (tidEntryMatch.Success && mReceivingThreads)
                             {
                                 if (ThreadListEvent != null)
                                     ThreadListEvent(this, new ThreadListEventArgs(ulong.Parse(tidEntryMatch.Groups["tid"].ToString(), NumberStyles.HexNumber), tidEntryMatch.Groups["cur"].Length > 0));



More information about the Ros-diffs mailing list