[next] [prev] [prev-tail] [tail] [up]

## Chapter 10
Debugging your Programs

Free Pascal supports debug information for the G N U debugger gdb, or its derivatives Insight on win32 or ddd on L I N U X.

This chapter describes shortly how to use this feature. It doesn’t attempt to describe completely the G N U debugger, however. For more information on the workings of the G N U debugger, see the gdb users’ guide.

Free Pascal also suports gprof, the G N U profiler, see section 10.4 for more information on profiling.

10.1 Compiling your program with debugger support
10.2 Using gdb to debug your program
10.3 Caveats when debugging with gdb
10.4 Support for gprof, the gnu profiler
10.5 Detecting heap memory leaks
10.6 Line numbers in run-time error backtraces
10.7 Combining heaptrc and lineinfo

[next] [prev] [prev-tail] [front] [up]