As Ben wrote some days ago, the emulator with debug roms have this feature included. But I guess it looks like (it's by heart, may not compile correctly):
Thanks, Henk. I saw Ben's original post but thought that only applied to the new and delete operators, and not the handle functions -- am I wrong?
I didn't see Ben's posting so I don't know the context, but:
* Debug ROMs are not required. Palm OS Emulator performs memory chunk over/underwrite detection with any ROM.
* The detection works with any memory block allocated with Palm OS Memory Manager functions (e.g., MemPtrNew, MemHandleNew, MemChunkNew, etc.). If operator new(), malloc, realloc, etc., are implemented as thin wrappers for those functions, then Palm OS Emulator's over/underwrite detection will work. If those library functions are implemented by allocating large blocks with the Palm OS Memory Manager and then sub-dividing those blocks, then Palm OS Emulator's detection will (usually) not detect over/underwrites.
-- Keith Rollin -- ex-Palm OS Emulator engineer
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
