Patent ID: 8032869

Claim:
A computer-readable, non-transitory medium storing therein a computer program for collecting information on an execution status of an information-collection target program with an interrupt handler that is activated by an interrupt generated when a predetermined condition is satisfied, wherein the computer program causes a computer to execute: specifying a target range for collecting the information on the execution status with the interrupt handler, the collecting being executed when the interrupt is generated within the target range; setting a flag value as information to be collected by the interrupt handler when the interrupt is generated within the target range, the flag value specifying a path of a function call generated within the target range; registering, in a flag-management table for each target range, a correspondence relation among a target number for identifying the target range, a start address of the target range, an end address of the target range, and the flag value; and storing, in an interrupt-handler-record table, a correspondence relation among the flag value and an execution address of the computer program for collecting information at an interrupt time when the interrupt is generated within the target range.