You can then pass source file and line number arguments through to the underlying heap allocation routines, and you will immediately be able to see where a bad allocation originated.
然后,可以将源文件和行号参数传递给基础堆分配例程,并能立即看到错误分配的出处。
The simplest way to identify the specific heap allocation call that went bad is to take advantage of the unique allocation request number associated with each block in the debug heap.