contents   index   previous   next

JSE_MEM_DEBUG (on if NDEBUG not defined)


In debug mode (i.e. NDEBUG not defined), by default ScriptEase adds extensive tests on top of the memory allocation system. These tests will locate unfreed memory, will fill freed memory with garbage, will test for writing past either end of a block of memory, and several other memory-related tests. It is usually best to leave this define on for your debug builds.