mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 02:29:26 +02:00
DBG: Fixed IDE hang, introduced in rev 37809 #1b6c227bd8 "Thread window: update while running"
git-svn-id: trunk@37813 -
This commit is contained in:
parent
f834ac76ce
commit
788a19edd4
@ -1616,6 +1616,11 @@ var
|
||||
S := S + ',';
|
||||
while s <> '' do begin
|
||||
i := StrToIntDef(GetPart('', ',', s), -1);
|
||||
if (s <> '') and (s[1] = ',') then delete(s, 1, 1)
|
||||
else begin
|
||||
debugln('GDBMI: Error parsing threads');
|
||||
break
|
||||
end;
|
||||
if i < 0 then Continue;
|
||||
t := ct.EntryById[i];
|
||||
if t <> nil then
|
||||
@ -10239,6 +10244,11 @@ var
|
||||
S := S + ',';
|
||||
while s <> '' do begin
|
||||
i := StrToIntDef(GetPart('', ',', s), -1);
|
||||
if (s <> '') and (s[1] = ',') then delete(s, 1, 1)
|
||||
else begin
|
||||
debugln('GDBMI: Error parsing threads');
|
||||
break
|
||||
end;
|
||||
if i < 0 then Continue;
|
||||
t := ct.EntryById[i];
|
||||
if t <> nil then
|
||||
|
Loading…
Reference in New Issue
Block a user