Debugging in FCL lazarus / 12-Debugger ---------------------------------------------------------------------- theo · 2006-07-30 19:02 How can i set breakpoints in and step through FCL code? I've tried all sorts of things like adding additional paths in the debugger options, but the debugger doesn't find the file. On the console, it says for example: Code: [Select]TManagedBreakPoints.NotifyAdd A /usr/share/fpcsrc/packages/base/netdb/netdb.pp 556 [Debugger] Log output: &"No source file named netdb.pp.\n" TGDBMIDebugger.ProcessResult Error: ,msg="No source file named netdb.pp." What can I do? ---------------------------------------------------------------------- Marc · 2006-07-31 08:53 You need to build a FCL with debugcode. You can try by doing a make OPT=-g in the FCL dir and then adding the units dit to the comiler path. (they must be before the regular path to the fcl units