Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-10

Debugging of packages

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Ondrej Pokorny

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 (?)
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)?

Thanks
Ondrej

Reply by email

Mattias Gaertner
to Ondrej Pokorny
Show quoted text 9 lines
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

Reply by email