Monitor running programs

How to monitor a running program

The following sample code shows how to monitor a running program. This code can be used to monitor the execution of Workbook‑related code. Simply use the SystemTimeInterruptMonitor class to create a monitoring object, use the setInterruptMonitor function to add it to the LoadOptions running parameters, and then use the startMonitor function to set the expected interruption time (in milliseconds). If the running time of the monitored code exceeds the expected time, the program will be interrupted, and an exception will be thrown.

Sample Code

Close
Loading

Analyzing your prompt, please hold on...

An error occurred while retrieving the results. Please refresh the page and try again.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.