mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-09 19:39:31 +01:00
Debugger GDBMI, prevent endless loop
git-svn-id: trunk@48427 -
This commit is contained in:
parent
bdb8739939
commit
9dffe82111
@ -10980,7 +10980,7 @@ begin
|
|||||||
WStr := WStr + OneChar;
|
WStr := WStr + OneChar;
|
||||||
CurLocation := CurLocation + 2;
|
CurLocation := CurLocation + 2;
|
||||||
end;
|
end;
|
||||||
until (OneChar = #0);
|
until (OneChar = #0) or (Length(WStr) > DebuggerProperties.MaxDisplayLengthForString);
|
||||||
Result := UTF16ToUTF8(WStr);
|
Result := UTF16ToUTF8(WStr);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user