1. A system comprising: a translation device configured to translate a first block of instructions from a first computer program into a second block of instructions of a second computer program, said translation device further configured to retranslate, in response to an error signal, said first block of instructions from said first computer program into a third block of instructions; a computer configured to execute said second computer program, to generate a machine state in executing said second computer program, and to generate said error signal when an error in executing said second computer program occurs; and a state conversion machine configured to generate a simulated machine state based on said machine state and based on a mapping generated by said translation device in retranslating, in response to said error signal, said first block of instructions into said third block of instructions.