nw::demo::DemoAllocator::SetBreakAlloc Member Function
void SetBreakAlloc(
int address,
size_t size
);
| Name | Description | |
|---|---|---|
| address | The conditional-break address | |
size |
The conditional-break size. |
Sets the the stop conditions when allocating memory.
The setting forces the process to pause when memory of the specified address and size is allocated. This feature becomes enabled by defining the macros NW_DEBUG_TRAP_ALLOCATOR and NW_DEBUG_BREAK_ALLOCATOR. If only the NW_DEBUG_TRAP_ALLOCATOR macro has been defined, only a message is output. If zero is specified for the size, the address becomes the only condition.
For both the address and the size, specify the numbers (the actually address and size) displayed by the Dump function.
CONFIDENTIAL