Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wish: print project attributes or variables to debug project files. #68

Open
Blady-Com opened this issue Jul 21, 2019 · 1 comment
Open
Assignees

Comments

@Blady-Com
Copy link

Hello,
GPR project files are difficult to tune because we can't get easily the actual value set for attributes or variables.
An additional gprbuild option (for instance "-vPx" or whatever else) would print each project instruction as "set -x" does for shell scripts:
for Default_Switches ("Ada") use Common_Options & Debug_Options;
would print, for instance:
INFO: Default_Switches ("Ada") => ("-gnatW8", "-O0", "-g", "-gnato")

What is your feedback?
Thanks Pascal.

@t-14
Copy link
Contributor

t-14 commented Aug 1, 2019

Sounds like an interesting idea. We'll check if it's practical.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants