Sets a checkpoint to avoid infinite loops. Setting the seconds parameter to 0 will disable any existing checkpoint. This function is intended to offer some protection in the debug process of an application.
Return value:
This function returns null.
Example
...
/* set a checkpoint to 30 seconds ... if the operation takes longer, the application will be forced to shutdown */
CheckPoint(30);
// infinite loop !
while (true);
/* notices that we passed the checkpoint, and cancels the checkpoint ... this point is never hit ! */
CheckPoint(0);
...