[fpc-pascal] Debug information
prof7bit at googlemail.com
Tue May 29 15:15:57 CEST 2012
On 29.05.2012 10:25, Rainer Stratmann wrote:
> I will try later.
Also make sure you have turned *off* all optimizations, they can
sometimes mess up the stack trace badly (by removing unneeded stack
frames which can produce very confusing results) and also I have
witnessed at least one occasion where smart linking also somehow
interfered with debugging (but this might have been a gdb problem),
but maybe better turn this off also, just to be on the safe side.
Building your own compiler and RTL from source with debugging symbols
only sounds complicated the very first time you hear about this idea,
once you have successfully done it yourself you will find that it is
actually quite easy and not more complicated than installing a
compiler via the .deb packages.
More information about the fpc-pascal