A software tool includes logic configured to enable a child process that
inherits the address space of a modified parent process to execute an
unaltered version of the address space when the child process inherits
the altered address space of the parent process. A method for processing
breakpoint events in a child process created from a parent process, when
the parent process is modified by a software tool includes, storing
unmodified parent process code replaced by each occurrence of a
breakpoint inserted into the address space during modification of the
parent process, monitoring execution of a child process created by the
parent process for an initial breakpoint in the address space, suspending
execution of the child process in response to an initial breakpoint,
replacing each occurrence of a breakpoint in the address space with the
unmodified parent process code, and resuming execution of the child
process.