Patent ID: 8752022

Claim:
An apparatus for thread-specific event management in a non-stop debugging environment, the non-stop debugging environment comprising a debugger configured to debug a debuggee comprising a plurality of threads of execution, wherein encountering an event by one of the threads stop execution of only the one thread without concurrently stopping execution of the other threads, the apparatus comprising a computer processor, a computer memory operatively coupled to the computer processor, the computer memory having disposed within it computer program instructions that, when executed by the computer processor, cause the apparatus to carry out the steps of: identifying, by the debugger for a thread of execution of the debuggee not currently executing, a thread-specific event associated with the thread, wherein the thread specific event comprises predefined operation code previously inserted into original operational code for the thread of execution; tracking a number of encounters of the thread-specific breakpoint while the thread is not executing; in response to determining that the number of encounters exceeds a predetermined threshold, removing, by the debugger, the thread-specific event for all threads of the debuggee while the thread of execution associated with the thread-specific event is not currently executing; and upon the thread resuming execution, replacing, by the debugger, the thread-specific event.