Debugger: fixed range check in watch expression parsing

This commit is contained in:
Martin 2023-03-20 10:51:01 +01:00
parent 8d4b429879
commit ec1e775ac1

View File

@ -697,6 +697,8 @@ begin
while (l > 0) and (Result[l] in [' ', #9])
do dec(l);
if l <= 0 then
exit;
if Result[l] <> '}' then
exit;