[lazarus] Catch exceptions in gdb

Michael Van Canneyt michael.vancanneyt at wisa.be
Thu Jun 26 08:00:51 EDT 2003




On Thu, 26 Jun 2003, Micha Nelissen wrote:

> Hi,
>
> How can I catch exceptions in gdb, such that it stops on the line that threw
> it?

You cannot. You must set a breakpoint on the FPC_RAISE function, and
go 1 frame back up the stack to see where the exception is raised.

Michael.






More information about the Lazarus mailing list