Re[2]: [fpc-devel] Debugging FPC

Никита Баль buxter-fpc at bk.ru
Sat Apr 5 11:41:58 CEST 2008


> How are you trying to debug it? With gdb, lazarus, fp, ...? And what  
> are the exact steps you are following?
> 
> 
> Jonas

I compile fpc under Lazarus(+gdb) with following keys:
-di386 -Fu../rtl/units/i386-win32 -FE. -FUi386/units/i386-win32 -dGDB -dBROWSERLOG
_________________

("pp.pas")
...
begin
  oldexit:=exitproc;
  exitproc:=@myexit;

{$ifdef extheaptrc}
  keepreleased:=true;
{$endif extheaptrc}

  Halt(compiler.Compile(''));        <- on this line i get exception.
                                        and i can't step into compiler.Compile('')
end.






More information about the fpc-devel mailing list