[fpc-pascal]FPC Debugging (with SQLite)

James Mills 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:
> Hi,
> 
> 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
> (1)
>                                                                               0x0809911D

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 :)

cheers
James

> 
> Without the source and line numbers ? (I think perhaps the SQLite
> library is interferring with the debug symbols in the program? I'm not
> sure).
> 
> Any ideas ?
> 
> cheers
> James
> 
> -- 
> -
> - James Mills
> Zero Defect Software Engineers Group - ZDSEG
> 
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal

-- 
-
- James Mills
Zero Defect Software Engineers Group - ZDSEG




More information about the fpc-pascal mailing list