mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 17:00:57 +02:00
LLDB Debugger: fix parsing frame
git-svn-id: trunk@58340 -
This commit is contained in:
parent
e887c43e0d
commit
fd1571d1e5
@ -157,6 +157,12 @@ begin
|
||||
AnInput := Copy(AnInput, i, Length(AnInput));
|
||||
end;
|
||||
|
||||
if StrStartsWith(AnInput, ' + ') and (Length(AnInput) >= 4) and (AnInput[4] in ['0'..'9']) then begin
|
||||
i := 4;
|
||||
while (Length(AnInput) > i) and (AnInput[i+1] in ['0'..'9']) do inc(i);
|
||||
delete(AnInput, 1, i);
|
||||
end;
|
||||
|
||||
if StrMatches(AnInput, [' at ', ':', ''], found) then begin
|
||||
AFile := found[0];
|
||||
i := pos(', ', found[1]);
|
||||
|
Loading…
Reference in New Issue
Block a user