On 05 Apr 2008, at 11:41, Никита Баль wrote:
How are you trying to debug it? With gdb, lazarus, fp, ...? And what
are the exact steps you are following?

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:[EMAIL PROTECTED];

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

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


With which version of gdb? Which version of FPC did you compile, and with which version of FPC did you compile it? And with which command line options (the ones you show above don't include any debug generation information, so there must be more)?


Jonas_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to