How can I catch exceptions in gdb, such that it stops on the line that threw it? Micha.
Show quoted text 11 lines
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.
The IDE uses:
break FPC_RAISEEXCEPTION
break FPC_BREAK_ERROR
maybe this works under win32 too
Mattias
