DaisyExamples
DaisyExamples copied to clipboard
Optimization and Debug settings as called from tasks.json
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
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.