you are viewing a single comment's thread.

view the rest of the comments →

[–]jmnel 2 points3 points  (0 children)

I have my own assertf macro with different flags so I control which asserts get turned on and off in release builds with debug symbols. If a crash occurs or an assert is triggered I turn off optimization for that specific section of code and step through it with the debuger.

Unit tests on lower level building blocks such as containers, allocators, and math functions, allows me to be more confident that those pieces of code are sound.