Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

lib
Enum DbgBreakType

   in debug.h

sometimes mmgr's 'fences' (making sure padding before and after the allocation remains intact) aren't enough to catch hard-to-find memory corruption bugs. another tool is to trigger a debug exception when the later to be corrupted variable is accessed; the problem should then become apparent. the VC++ IDE provides such 'breakpoints', but can only detect write access. additionally, it can't resolve symbols in Release mode (where this would be most useful), so we provide a breakpoint API. (values chosen to match IA-32 bit defs, so compiler can optimize. this isn't required; it'll work regardless.)


Field Summary
DBG_BREAK_CODE = 0
          execute
DBG_BREAK_DATA = 3 /
          
DBG_BREAK_DATA_WRITE = 1
          write
 

Field Detail

DBG_BREAK_CODE

public DBG_BREAK_CODE = 0
execute

DBG_BREAK_DATA

public DBG_BREAK_DATA = 3 /

DBG_BREAK_DATA_WRITE

public DBG_BREAK_DATA_WRITE = 1
write

 Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
Generated on September 04, 2007 at 18:13
CppDoc v2.4.0
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD