[fpc-pascal] Unhandled Exception
dennis at avidsoft.com.hk
Tue Sep 9 04:14:17 CEST 2014
Steve Gatenby wrote:
> I have an intermittant exception in my Lazarus app (Access violation)
> My app also uses a freepascal library - I think the problem is within it
> Can anybody suggest the best way to narrow this down to a unit /
> function / line ?
> I believe I have the Frame stack captured, but have no idea what to do
> with it
> I have read the wiki on logging exceptions, but this seems to only
> give me address info, and I cant figure how to translate this to
> something useful
> Thanks - SteveG
May I ask whether you have tried enabling the debugger option?
Project Options->Debugging->Generate Debug info for GDB
and then run the app within Lazarus.
When the AV occurs, it shall stop within lazarus and you can then go to
View->Debug Windows->Call Stacks to see where the AV occur.
More information about the fpc-pascal