Original Publication Date: 1988-Jul-01
Included in the Prior Art Database: 2005-Feb-15
An algorithm is described for facilitating fast exit and re-entry to an executing program without requiring compiled-in invocations to a monitor or debugger program. The exit function can be temporarily suspended without incurring significant computer overhead except in unusual cases. Classes of conditions can be defined to selectively activate the algorithm's program exit function. When a Program Monitor Apparatus (PMA) exists as a computer program that is co-resident with the program or collection of programs that are being monitored AND those programs share the processing unit with the PMA, an algorithm is needed to interrupt the program(s) being monitored so that the PMA can perform its function. Use of a PMA invariably leads to the requirement to have large numbers of hooks placed in the executing program(s).