1. An apparatus for reducing interrupts while tracing an application in a data processing system, the apparatus comprising: means for receiving at a tracing function an indication that at least a portion of executable code from an application has been loaded into a memory block prior to execution of the portion of executable code; and means for altering by the tracing function at least one operating-system-defined memory access protection parameter to allow read access to the memory block, and wherein the receiving means and the altering means are activated for each memory fault for the application.