mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 01:39:25 +02: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;
|
||||
CurLocation := CurLocation + 2;
|
||||
end;
|
||||
until (OneChar = #0);
|
||||
until (OneChar = #0) or (Length(WStr) > DebuggerProperties.MaxDisplayLengthForString);
|
||||
Result := UTF16ToUTF8(WStr);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user