Method and apparatus for debugging optimized code
AssigneeSun Microsystems, Inc.
InventorsClifford N. Click, Jr., Christopher A. Vick, Michael H. Paleczny
Life of this patent
Estimating the term…
Loading patent…
AssigneeSun Microsystems, Inc.
InventorsClifford N. Click, Jr., Christopher A. Vick, Michael H. Paleczny
Estimating the term…
Methods and apparatus for providing a substantially full set of state information to a debugger, without significantly compromising system performance, in order to debug optimized computer program code are disclosed. According to one aspect of the present invention, a method for obtaining information associated with program code includes adding a segment of code, which includes a representation that is effectively not used after it is computed, to the program code. Debugging code is added in proximity to the segment of code, and machine code is generated from the program code. The machine code includes a break point that is associated with the debugging code, and includes an instruction at the breakpoint. Finally, the method includes replacing the instruction at the break point with a branch instruction that is arranged to cause the debugging code to execute.
A computer-implemented method for obtaining information associated with program code, the computer-implemented method comprising:
A computer apparatus for obtaining information associated with program code, the computer apparatus comprising:
A computer program product for obtaining information associated with a particular set of instructions, the computer program product comprising:
A computer-implemented method for obtaining information associated with program code, the computer-implemented method comprising:
A computer-implemented method for debugging optimized code, the computer-implemented method comprising:
Dependencies are inferred from the claim text.