[Lazarus] How to catch an unhandled exception?
tony.whyman at mccallumwhyman.com
Fri Mar 9 11:12:26 CET 2018
You may in a roundabout way have pointed me at where the problem lies. I
always work with fpc debug libraries as well and I can't catch the
problem. I changed to the standard release and the bug appears!
Unfortunately, while duplicating the problem is one thing, tracking it
down when your main debugging tool is unavailable is another...
On 09/03/18 09:56, Giuliano Colla via Lazarus wrote:
> Il 09/03/2018 10:14, Gabor Boros via Lazarus ha scritto:
>> Any idea how to detect what/where is the source of the exception?
>> I use Linux 64bit, FPC 3.0.4 and Lazarus fixes_1_8.
> To obtain meaningful information from gdb I do the following:
> 1) Compile both Lazarus LCL and fpc with debug info
> 2) Install the glibc-debuginfo packages
> Otherwise you get only the information about exceptions which generate
> directly from your source code, which is many cases isn't sufficient.
> Hope that it helps,
More information about the Lazarus