Recent

Author Topic: Debugging FPC  (Read 581 times)

440bx

  • Sr. Member
  • ****
  • Posts: 393
Debugging FPC
« 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.

PascalDragon

  • Full Member
  • ***
  • Posts: 206
  • Compiler Developer
Re: Debugging FPC
« Reply #1 on: August 10, 2018, 09:19:29 am »
GDB or plain old Writeln. *shrugs*

440bx

  • Sr. Member
  • ****
  • Posts: 393
Re: Debugging FPC
« Reply #2 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.