Lazarus

Free Pascal => General => Topic started by: 440bx on August 08, 2018, 07:31:48 am

Title: Debugging FPC
Post by: 440bx on August 08, 2018, 07:31:48 am
Hello,

I was just curious to find out how FPC's developers go about debugging FPC.  Particularly in some not so easy cases such as how Windows (or some other OS) implements exception handling.

There was a time when SoftICE was the tool to figure out what was not well (or not) documented.   Today, on Windows, there is WinDBG but, it is no SoftICE.

I was wondering what debugging tool(s) the FPC developers use to solve the really thorny problems. 

Thank you.
Title: Re: Debugging FPC
Post by: PascalDragon on August 10, 2018, 09:19:29 am
GDB or plain old Writeln. *shrugs*
Title: Re: Debugging FPC
Post by: 440bx on August 10, 2018, 09:43:03 am
GDB or plain old Writeln. *shrugs*
Thank you for replying.  That works well for most everything that is simple but, tracing the unwinding of Windows exception handlers (for instance) like that is not exactly easy.    My hat off to the developers for their hard work and patience.