I've been having issues debugging my program on Lazarus. Every time I try to debug my program files and I get
External: SIGILL error and debugging stops with Assembly code being displayed right after. However, my program runs with no problem if I run the executable outside of Lazarus compiler. So, I enabled Range Check Error option under Debugging in the Project Option.
When I tried to debug, Lazarus immediately took me to Synaser file:
procedure ScanForPorts( const ThisRootStr : string); // added by PDF
var theDevice : String;
var FD : Cint;
var Ser : TSerialStruct;
begin
if FindFirst( ThisRootStr, $FFFFFFFF, sr) = 0 then <<<<<<<<<<<<<<<<<<< Raised Range Check Error here.
begin
repeat
if (sr.Attr and $FFFFFFFF) = Sr.Attr then
begin
So, my question is this. Is this a real bug in Synaser? if so, how do you go about fixing it. I think, Lazarus is complaining about
$FFFFFFFF.