How can I step into fppdf.pp when debug lazarus / 12-Debugger ---------------------------------------------------------------------- loadymf · 2023-12-17 23:39 How can I step into fppdf.pp when debug, I has use fppdf.pp to create pdf,but I went to debug the fppdf.pp code,cannot step into fppdf.pp ---------------------------------------------------------------------- dsiders · 2023-12-17 23:55 Quote from: loadymf on December 18, 2023, 12:39:05 am How can I step into fppdf.pp when debug, I has use fppdf.pp to create pdf,but I went to debug the fppdf.pp code,cannot step into fppdf.pp RTL and FCL are not built with debug information by default. See these links for more information: https://forum.lazarus.freepascal.org/index.php?topic=39255.0 https://www.freepascal.org/docs-html/user/usersu73.html ---------------------------------------------------------------------- cdbc · 2023-12-18 12:21 Hi QuoteHow can I step into fppdf.pp when debug, I has use fppdf.pp to create pdf,but I went to debug the fppdf.pp code,cannot step into fppdf.pp1) make directory in a tmp location of your choice eg: /home/user/tmp/__fppdf 2) copy the file "fppdf.pp" to your tmp-location 3) rename "fppdf.pp" in your tmp-location to "__fppdf.pp", remember the unit name inside the file  4) in your app change the uses to use "__fppdf" and include your tmp- location in "Project-Options-Path" 5) recompile your project with debug-info on. 6) now you should be able to step into the fppdf.pp source... 7) when you're done, simply change your uses clause back to "fppdf" and remove tmp-location from project options. Give that a whirl and see what happens  HTH Regards Benny