Debugger shows bad IDE tooltips for widechar
Original Reporter info from Mantis: Alextp
-
Reporter name: CudaText man
Original Reporter info from Mantis: Alextp
- Reporter name: CudaText man
Description:
run this app in IDE. place breakpoint on /if/ line. during the breakpoint stop, place mouse cursor over 'ch' variable.
IDE shows bad tooltip for first WideChars from the example string.
ie negative numbers like:
-3936 #-3936
procedure TForm1.FormCreate(Sender: TObject);
var
s: UnicodeString;
i: integer;
ch: widechar;
begin
s:= #$F0a0#$F123'test';
for i:= 1 to length(s) do
begin
ch:= s[i];
if ch=#0 then begin end;
end;
end;
Mantis conversion info:
- Mantis ID: 36160
- Platform: Win10
- Version: 2.1 (SVN)