Patent ID: 9632912
Date: 2017-04-25
CPC Classifications: G06F

Claim:
1. A method of debugging a program, the method comprising: recording an execution of a program; obtaining from a user, via an input device, a selection of a portion of the program which is between trackable inputs and outputs, and which is a closest enclosing module that includes one or a plurality of modules in which a suspected bug exists, wherein the inputs were previously recorded in the recorded execution of the program, so as to track data that was passed through the inputs during a recorded previous simulation execution of the program, and one or a plurality of amendments to a code of the selected portion of the program; creating a new test file that instantiates an instance of the closest enclosing module; compiling, and simulating an execution on the new test file, that includes the selected portion of the program with the code amended by the one or a plurality of amendments, by providing through the inputs the data that was passed through said inputs during the recorded execution of the program; and presenting information relating to the simulated execution on an output device.