Debugger GDBMI, prevent endless loop

git-svn-id: trunk@48427 -
This commit is contained in:
martin 2015-03-20 00:32:58 +00:00
parent bdb8739939
commit 9dffe82111

View File

@ -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;