Bug in LCLProc
Original Reporter info from Mantis: maciejkaczkowski
-
Reporter name: Maciej Kaczkowski
Original Reporter info from Mantis: maciejkaczkowski
- Reporter name: Maciej Kaczkowski
Description:
In some cases I've get divide by zero message in RaiseGDBException function
procedure RaiseGDBException(const Msg: string);
begin
debugln(rsERRORInLCL, Msg);
// creates an exception, that gdb catches:
debugln(rsCreatingGdbCatchableError);
if (length(Msg) div (length(Msg) div 10000))=0 then ; <--- problem is here
end;
simple solution:
put this line into comment
Steps to reproduce:
unknown
Mantis conversion info:
- Mantis ID: 1246
- OS: Windows XP
- OS Build: 5.1
- Platform: Microsoft Windows
- Version: 0.9.9 (SVN)