JclDebug.pas lazarus / 12-Debugger ---------------------------------------------------------------------- dmitry · 2010-01-31 17:01 i am using JclDebug in my Delphi app to track exceptions and call stacks. JCL is supposed to fully support FPC, but I am having hard time making it work. For one, it does not look like JCL supports DGB files generated by FPC. Did anybody use JclDebug/JclHookExcept in FPC? Any tips? Thank you! ---------------------------------------------------------------------- dmitry · 2010-02-01 04:47 It looks like I shoudl use -Xm compiler switch to generate a MAP file: http://delphitools.info/forums/index.php?topic=13.0 How do I do that? ---------------------------------------------------------------------- Paul Ishenin · 2010-02-01 09:35 Delphi and FPC map files are completely different. I suppose this part of JCL will not work for you (of course if you will not rewrite it). ---------------------------------------------------------------------- dmitry · 2010-02-01 14:13 Bummer :-( Do you know of any other FPC-compatible library that would let me firgure out the source code location and call stack given an exception data? Since I cannot debug in Lazarus a dll loaded by a host process, analyzing  an exception log is pretty much my only option... Thank you! ---------------------------------------------------------------------- Paul Ishenin · 2010-03-11 01:56 Maybe better we will implement dll debugging in Lazarus? Imo it is not a really big problem since gdb can attach to process to debug it. We only need to know pid. Gdb also can switch between threads to debug. Only Lazarus is missing appropriate interface to that things. ---------------------------------------------------------------------- Marc · 2010-03-11 08:41 Quote from: dmitry on February 01, 2010, 03:13:54 pmSince I cannot debug in Lazarus a dll loaded by a host process, analyzing  an exception log is pretty much my only option... Thsi is still not working ?