[Lazarus] Debugging of packages

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Oct 19 12:52:13 CEST 2015


On Mon, 19 Oct 2015 12:17:02 +0200
Ondrej Pokorny <lazarus at kluug.net> wrote:

> Hello!
> 
> I have a project with my custom package listed in "Required packages" of 
> the project.
> I am not able to debug the code in the package (I am able to debug the 
> project code though).
> 
> I assume there are some compiler settings different from the project so 
> that I cannot step into the package code (?)

Probably yes.

> How to solve it? Is there an option to  keep package and project options 
> in sync? (Basically to override package options and use project options 
> for the package)?

You can add compiler flags to all packages of the project:
http://wiki.lazarus.freepascal.org/IDE_Window:_Compiler_Options#Add_a_flag_to_project_and_all_packages


Mattias




More information about the Lazarus mailing list