Patent ID: 7000225
Filing Date: 2006-02-14
Classification: G06F

Abstract:
1. A method of inserting a plurality of global breakpoints into computer software for debugging the computer software, said method performed by executing a computer program on a processor of a computer system, said executing including performing the steps of: performing by the computer program a first loop over the global breakpoints such that for each global breakpoint in the first loop; determining a page into which the global breakpoint is to be inserted, reading the page from an executable image into physical memory if the page is not present in the physical memory, and inserting the global breakpoint in the page present in the physical memory; and performing by the computer program a second loop over the global breakpoints such that for each global breakpoint in the second loop; determining if a private copy exists for the page into which the global breakpoint is to be inserted, detecting the private copy if the private copy exists, reading the private copy from an executable into physical memory if the private copy exists and is not present in the physical memory, and inserting the global breakpoint in the private copy present in the physical memory, wherein said reading the page into the physical memory further comprises changing a file specific readpage process to a wrapper routine that invokes an original readpage process and then performs said inserting the global breakpoints.