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/KDB…
==============================================================================
--- 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));