What Is Debug_guard For?
by Brett Fattori · in Torque Game Engine · 01/07/2004 (7:09 pm) · 2 replies
I see DEBUG_GUARD in {platform}Memory.cc but have no idea what it's for. Should it be defined when building Torque in Debug?
Note: Seems that with DEBUG_GUARD defined, paths don't compile.
- Brett
Note: Seems that with DEBUG_GUARD defined, paths don't compile.
- Brett
#2
01/08/2004 (11:49 am)
As I recall, it also inserts blocks of known values before and after allocated buffers, then checks them on a regular basis to see if there has been an overrun of allocated memory.
Torque Owner Nicolas Quijano