AfxSetAllocStop

Syntax

void PASCAL AfxSetAllocStop( LONG lRequestNumber );

Parameters

lRequestNumber

The sequence number of the memory allocation on which the program will halt.

Remarks

Each memory allocation is assigned a sequential serial number. This function forces the program to halt (using the INT 3 interrupt) on the specified memory allocation sequence number. This is useful if you are running the program from within a debugger. You can obtain the allocation sequence number to pass in lRequestNumber by calling AfxIsMemoryBlock.