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

Optimization and Debug settings as called from tasks.json #190

Open
stephenhensley opened this issue Apr 26, 2021 · 1 comment
Open

Optimization and Debug settings as called from tasks.json #190

stephenhensley opened this issue Apr 26, 2021 · 1 comment

Comments

@stephenhensley
Copy link
Collaborator

The current build_and_debug task does properly set the DEBUG flag to enable debugging symbols. However, it does not change the OPT setting from its default (-O2 I believe). For accurate debugging information this should be set to -O0 or -Og

@stephenhensley
Copy link
Collaborator Author

Something brought up in conversation earlier as well:

The build_and_debug task doesn't seem to run the clean recipe before building. So only any changed files are getting recompiled with the DEBUG flags. This can lead to some unexpected behavior.

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

1 participant