Showing the wrong procedure, unit and line number at runtime error
Original Reporter info from Mantis: carsten@beas.dk
-
Reporter name: Carsten Bager
Original Reporter info from Mantis: carsten@beas.dk
- Reporter name: Carsten Bager
Description:
Showing the wrong procedure, unit and line number at runtime error
Steps to reproduce:
Create a empty form, place a button, put in the code
procedure TForm1.Button1Click(Sender: TObject);
Var
i:Integer;
begin
i:=0;
i:=i div i;
end;
Click at the button and you will get a division by zero.
The error info points to a wrong place.
Additional information:
If the same is done on Windows (Lazarus 1.64) it works.
Mantis conversion info:
- Mantis ID: 31572
- OS: Debian
- Platform: Raspberry Pi
- Version: 1.6.4
- Monitored by: » @martin_frb (Martin Friebe)