Patent ID: 7406684

Claim:
A computer system comprising a computer-readable recording medium having a compiler program for reproducing a same executable instruction stream as an executable instruction stream generated by a dynamic compiler to facilitate debugging of the dynamic compiler, said compiler program comprising a first program that causes a computer to sequentially compile partial programs to be executed among a plurality of partial programs included in a second program during execution of the second program, causing said computer to function as: an execution status obtaining section for obtaining an execution status of said second program; a dynamic compilation section for compiling one of said partial programs to be executed during execution of said second program, on the basis of said execution status, to generate an executable instruction stream that differs depending on said execution status; an execution status recording section for recording said execution status in a memory area allocated on a memory of said computer; a file reading section for reading a file containing contents of the memory area allocated on said memory, said file being stored in a storage device by said computer; and a replay compilation section for compiling said one partial program on the basis of said execution status obtained from said file to generate the same executable instruction stream as said executable instruction stream generated by said dynamic compilation section during the execution of said second program.