Debug the IDE lazarus / 12-Debugger ---------------------------------------------------------------------- Zoran · 2015-03-02 14:23 I am trying to understand better the Lazarus IDE project (and possibly make some patches). However, when I open Lazarus.lpi project, I can't compile it and debug it inside the IDE. The following message pops up: QuoteThe project's compiler options has no compile command. See Project / Compiler Options ... / Compilation I can't find "Project / Compiler Options ... / Compilation". I looked into "Project/Project Options.../Compiler Options/Compilation and Linking", but I cannot find what is not set there - everything looks same as in my personal projects. Can you help me? I tried to debug the latest trunk version of Lazarus.lpi (rev. 48093). I tried with trunk version itself, and I tried to open it with 1.4RC3. ---------------------------------------------------------------------- Martin_fr · 2015-03-02 14:45 You can compile it using "Build Lazarus ... " from tool menu. Use "configure build ..." to add options such as -gh -g -gw -godwarfsets   -Criot -gtt -O- After that, you can press F9 to start it in the debugger. ---------------------------------------------------------------------- Leledumbo · 2015-03-02 15:01 Quote from: Zoran on March 02, 2015, 03:23:52 pmI can't find "Project / Compiler Options ... / Compilation". I looked into "Project/Project Options.../Compiler Options/Compilation and Linking", but I cannot find what is not set there - everything looks same as in my personal projects.So what's written there (attached)? Don't forget the "Call On" checkboxes. ---------------------------------------------------------------------- JuhaManninen · 2015-03-02 15:11 Quote from: Leledumbo on March 02, 2015, 04:01:07 pmSo what's written there (attached)? Don't forget the "Call On" checkboxes. Lazarus cannot be built as a normal project yet. It will change some day. Indeed debugging with lazarus.lpi may not be documented anywhere. I remember asking the same questions years ago. Maybe Zoran adds it to wiki somewhere now that he knows how to do it. ---------------------------------------------------------------------- Zoran · 2015-03-03 12:37 Thank you, all! Quote from: JuhaManninen on March 02, 2015, 04:11:48 pmIndeed debugging with lazarus.lpi may not be documented anywhere. I remember asking the same questions years ago. Maybe Zoran adds it to wiki somewhere now that he knows how to do it. Now I found - yet another contribution by BigChimp: http://wiki.freepascal.org/Extending_the_IDE#Debugging_the_IDE