[fpc-pascal]FPC Debugging (with SQLite)
prologic at daisy.ods.org
Mon Jul 7 12:35:09 CEST 2003
On Mon, Jul 07, 2003 at 08:19:38PM +1000, James Mills wrote:
> I have a problem with the SQLite library (www.sqlite.org).
> I believe Michael helped me with the conversion of the headers and the
> unit that Eric Jourde wrote.
> This all works fine, however when compiling a program with the debug
> options (-g, -gg etc), it won't produce any tracebacks of error. It
> makes it impossible to trace down something like:
> An unhandled exception occurred at 0x0809911D :
> List index exceeds bounds
I found a solution to this problem by using a break point on the address
in gdb (didn't know this till I did some digging on the break command).
However I would still like to know why the backtrace wasn't there to
begin with... Normally it is :)
> Without the source and line numbers ? (I think perhaps the SQLite
> library is interferring with the debug symbols in the program? I'm not
> Any ideas ?
> - James Mills
> Zero Defect Software Engineers Group - ZDSEG
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
- James Mills
Zero Defect Software Engineers Group - ZDSEG
More information about the fpc-pascal