Patent ID: 7716643
Filing Date: 2010-05-11
Classification: G06F

Abstract:
1. In a system which includes a target application, a profiler application and a debugging application, the profiler application being operative to attach to the target application and, upon attaching to the target application, performing operations to profile the target application, the debugging application being operative to monitor the target application, a method comprising acts of: (A) causing the profiler application to attach to the target application such that instructions executed by the profiler application to profile the target application are susceptible to monitoring by the debugging application; (B) causing the profiler application to execute one or more instructions to profile the target application; and (C) causing the debugging application to debug the one or more instructions executed by the profiler application; wherein the profiler application attaches to the target application in part by loading a profiler agent library to memory used by the target application, and wherein the act (A) further comprises: (A1) generating helper code; (A2) transferring the helper code to the memory used by the target application; and (A3) causing the helper code to be executed from the memory used by the target application, wherein the helper code, when executed, causes the profiler agent library to be loaded to the memory used by the target application.