Em 21/02/2012, às 14:20, Martin escreveu: > On 21/02/2012 16:14, leledumbo wrote: >>> So the savest way to ensure that BackTraceStrFunc returns more than just >> the address us to use "-gl" >> >> I think I'm not clear enough to say that I have used -gl for this, and I >> don't get the line information. I've tried this on 2 places: ExceptProc and >> TApplication.OnException. >> > > It should be noted, that afaik if the BackTraceStrFunc encounters an error, > it is reset to the system one (without line info). So once backtrace failed > (maybe problems reading a particular part of the debug info, it switches > itself off... (for all further calls) > > If you don't get results: then you should mention if that was using stabs, or > dwarf. And 32bit 64 bit.
Did you have looked at the example i send? It also is not working. I`m on 32b mac osx lion with svn version instaled. And with none of the available options have worked: automatic, stabs, dwarf, dwarf2, dwarf3 beta. > > Also start testing outside an exception, to see if that works. > _______________________________________________ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-pascal _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal