Concept Framework 2.0 documentation | Contents | Index |
Name | Version | Deprecated |
CheckPoint | version 1.0 | no |
null-returned CheckPoint(number seconds) |
seconds | the number of seconds to the next checkpoint |
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. |
... /* 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); ... |
Documented by Eduard Suica, generation time: Fri Jan 21 18:06:21 2011 GMT | (c)2011 RadGs Software |