LazDebugger[Fp]Lldb: fix for new Apple-LLDB version. Read new format for eval results (e.g. exception data)

This commit is contained in:
Martin 2023-10-10 19:26:48 +02:00
parent 5b43d582a0
commit 07025f3b9c

View File

@ -1107,17 +1107,27 @@ begin
exit;
end;
// error: use of undeclared identifier 'i'
// (int) $0 = 133
// (LONGINT) I = 99
// (ANSISTRING) $1 = 0x005aac80
if StrMatches(AData, ['(', ')', ' = ', ''], found) then begin
FRes := AData;
FCurly := 0;
if ParseStruct(found[2]) then
SetContentReceieved;
exit;
end
else
// (char *) 0x0000000111246cd8 "\"\" is not a valid boolean."
// (unsigned long) 0x0000000106e6f8a0
if StrMatches(AData, ['(', ') ', ''], found) then begin
FRes := AData;
FCurly := 0;
if ParseStruct(found[1]) then
SetContentReceieved;
exit;
end;
// error: use of undeclared identifier 'i'
// (int) $0 = 133
// (LONGINT) I = 99
// (ANSISTRING) $1 = 0x005aac80
Result := inherited ProcessInputFromDbg(AData);
end;