|  | Home | Libraries | People | FAQ | More | 
boost::debug::break_memory_alloc — Causes program to break execution in debugger at specific allocation point.
// In header: <boost/test/debug.hpp> void break_memory_alloc(long mem_alloc_order_num);
On some platforms/memory managers (at the moment only on Windows/Visual Studio) one can tell a C Runtime to break on specific memory allocation. This can be used in combination with memory leak detection (which reports leaked memory allocation number) to locate the place where leak initiated.
| Parameters: | 
 |