Cannot debug Lazarus itself lazarus / 12-Debugger ---------------------------------------------------------------------- anatol · 2007-02-18 07:17 I'd like to help improve Lazarus under Linux. However, being new to it I don't know how to make it work with debug info included. When I try make clean all LCL_PLATFORM="gtk2" OPT=-dDEBUG everything seems to compile fine though with many warnings about type missmatch. Now, the only thing I can see after launch is a message window informing me about a range check error. No matter which button, OK or Cancel, I click, the program exits. Can anyone give me a hand? P.S. I use Lazarus SVN revision 10649 and FPC version 2.0.4. ---------------------------------------------------------------------- felipemdc · 2007-02-18 08:29 You don't have to do anything special to include debug info. Debug info is included by default. Also, lazarus has a menu on the IDE, called Configure Build Lazarus. It's probably better to use that menu to build it If you wish to use the command line, don't add OPT=-dDEBUG This is a conditional define, not a instruction to add debug info. But even then, this error shouldn't exist, Please report it as a bug on the bug tracker. ---------------------------------------------------------------------- anatol · 2007-02-18 12:25 Thank you for advice, your were right about the possibility to debug Lazarus out of the box. I should have tried it before reading online FAQ, . The bug is reported as Mantis 8357.