Free Pascal supports debug information for the gnu debugger gdb, or its derivatives Insight on win32 or ddd on linux. It can write 2 kinds of debug information:
The old debug information format.
The new debug information format.
Both are understood by GDB.
This chapter briefly describes how to use this feature. It doesn’t attempt to describe completely the gnu debugger, however. For more information on the workings of the gnu debugger, see the GDB User Manual.
Free Pascal also supports gprof, the gnu profiler. See section 10.4 for more information on profiling.