-
Notifications
You must be signed in to change notification settings - Fork 285
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
Debug compiling #334
Merged
Merged
Debug compiling #334
Changes from 7 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
1c0ce7b
Modified debug behaviour - code only build for debug target
pjrobertson 9a5d368
last #ifdef DEBUG implementation
pjrobertson 5af7a5f
resolved merge conflicts for debug compiling
pjrobertson a2fa28e
resolved one more conflict with fast enumeration branch
pjrobertson f174e3f
remove version control merge lines
pjrobertson 20f0ddb
last changes to all DEBUG parts of the code
pjrobertson 4f1ca5d
cleaned up pre-processor macros
pjrobertson 5d442e2
removed setting/unsetting of verbose env
pjrobertson a034ba6
removed debug methods linked to debug menu from release code
pjrobertson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this line still needed? It looks like previously, you could get verbose mode by either the environment variable or by holding down Option. Now it looks like the Option key trick should only be available in Debug builds, which is fine, but in that case,
verbose
will get set on line 29.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's similar to how it used to be, but I agree - it is a bit funny.
If you're not holding down the ⌥ key then the
verbose
env gets set then removed. I guess lines 26 and 33 - 35 could be removed.P.S. did you delete a line comment about #ifndef? That's supposed to be #ifndef since it's replacing an if(!DEBUG) - i.e. only include the code if we're doing a release build
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Just my ignorance of C syntax. Ignore. :)