×

Method and apparatus for debugging optimized code

  • US 6,553,565 B2
  • Filed: 04/23/1999
  • Issued: 04/22/2003
  • Est. Priority Date: 04/23/1999
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method for obtaining information associated with program code, the computer-implemented method comprising:

  • adding a segment of code to the program code, the segment of code including a representation associated with a computation, the representation being arranged to be substantially unprocessed;

    adding debugging code in proximity to the segment of code;

    optimizing the program code;

    generating machine code associated with the optimized program code, the machine code including a break point and an associated instruction, the break point being associated with the debugging code; and

    replacing the instruction at the break point with a branch instruction, the branch instruction being arranged to cause the debugging code to execute, wherein when the debugging code executes, information associated with the representation is obtained.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×