[Lazarus] Attn Martin, LazarusDir and FPCSourceDirectory not saved to environmentoptions.xml

Martin Frb lazarus at mfriebe.de
Fri Feb 14 16:44:24 CET 2014


On 14/02/2014 15:23, leledumbo wrote:
> Ah...my bad, my FPC wasn't built with debugging info, only Lazarus was.
> Perhaps that could be the problem? But GDB knows when I give "b
> FPC_RAISEEXCEPTION"? OK, this is weird...
>
>

FPC_RAISEEXCEPTION is declared
Function fpc_RaiseException (Obj : TObject; AnAddr : CodePointer; AFrame : Pointer) : TObject;[Public, Alias : 'FPC_RAISEEXCEPTION']; compilerproc;

the alias means it is exported always. But apparently GDB gets it wrong. At least for use as breakpoint.


It should work via the address trick. Most users have an RTL without dbg 
info, and yet can debug




More information about the Lazarus mailing list