[fpc-devel] Debugger for FPC

Michael Schnell mschnell at lumino.de
Wed Mar 11 10:14:05 CET 2009


You might want to take a look at the great book by Maltiff & Salzmann: 
"The Art of Debugging". They provide a very nice overview about what gdb 
can do. They also describe the gdb frontends DDD and Eclipse Of course 
they only use C as a programming language.

They say that using a debugger has a lot advantages over code 
instrumentation.

Nonetheless, Delphi, besides a relatively decently working realtime 
Debugger, provides additional service for code instrumentation with 
dedicated  function ( "OutputDebugString()" ) and a additional "trace" 
debug window. (I don't know whether Lararus offers this, too.)

Lazarus is just another frontent for gdb, so in theory anything that gdb 
offers should work decently through Lazarus. And IMHO, Lazarus is a 
really nice gdb frontent (if it would work perfectly).

-Michael





More information about the fpc-devel mailing list