Patent ID: 7257805
Filing Date: 2007-08-14
Classification: G06F

Abstract:
1. A method of restoring debugging breakpoints in a source code program, said method comprising: setting a breakpoint to a selected step of a first version of the source code; creating an instruction profile for the selected step, said instruction profile comprising one or more specific attributes of one or more machine instructions generated for the selected step and one or more specific attributes of zero or more other machine instructions generated for the first version of source code, and wherein the instruction profile further comprises a source line number for the selected step and a length of the first version of source code, and automatically restoring the breakpoint to the selected step of a modified program, in response to modification of the first version of source code to provide the modified program having a second version of source code, wherein the selected step is at a different location within the modified program and wherein the automatically restoring comprises comparing one or more operation codes of one or more machine instructions generated for the second version of source code with one or more operation codes of the instruction profile created based on the first version of source code to determine which machine instruction of the modified program corresponds most closely to the selected step and wherein the automatically restoring comprises using the source line number and length to determine a starting point within the modified program to select the one or more machine instructions generated for the second version of the source code to be used in the comparing.