Add ASSERT_DEBUG()
macro for debugging and replace all current assert()
calls except in tests that can't use the debug code.
Improve debugging. Add ASSERT_DEBUG()
macro for debugging and replace all current assert()
calls except in tests that can't use the debug code. Replace remaining NDEBUG blocks with the more granular DEBUG_UNIT. Remove some debug memset()
calls in MemContext
since valgrind is more useful for these checks.