Patent ID: 7913072

Claim:
An information-processing apparatus comprising: a computer including a processor; an execution-state holding unit configured to hold an execution state of a program executed by said computer; a callback function registration unit configured to register a snapshot acquisition callback function for said program, said snapshot acquisition callback function including a process to execute said program to a delimiter point of said program and to acquire a program snapshot at said delimiter point; a return-point setting unit configured to set a return execution point of said program, said return execution point to be restored to continue execution from said return execution point after activation of said information-processing apparatus, prior to said activation; an execution-state saving unit configured to save an execution state held by said execution-state holding unit as a program execution state at said return execution point to be restored to continue execution from said return execution point after said activation, prior to said activation; and an execution-state transfer unit configured to transfer said execution state saved by said execution-state saving unit to said execution-state holding unit at said activation.