[Lazarus] Debug Lazarus source

Vincent Snijders vsnijders at vodafonevast.nl
Fri Nov 6 21:46:00 CET 2009


Juha Manninen schreef:
> Hi,
> 
> I don't know what happened here.
> At one point I deleted all Lazarus setting files from ~.
> Then I have reloaded the whole Lazarus source tree from SVN.
>   svn checkout http://svn.freepascal.org/svn/lazarus/trunk lazarus
> 
> "Make clean all" worked fine but when compiling lazarus.lpi I get errors:
> 
>   The project's compiler options has no compiler command.
> 
> In Project Compiler Options -> Compilation -> Compiler the 3 checkboxes are 
> unchecked: "Compile", "Build" and "Run".
> I check them.

That is because the preferred way of compiling Lazarus is by using Tools 
-> Build Lazarus, so the IDE should not try to compile lazarus itself 
before running it.

<snipped errors that are caused by not using Tools -> Build Lazarus>

> 
> Now the project actually compiles and runs!
> Then I try to set a breakpoint but get an error:
> 
>   There is no debugger specified...
> 

Try Environment -> Options -> Debugger -> General

Vincent




More information about the Lazarus mailing list