Patent ID: 8141046

Claim:
A computer implemented method for indicating thread swaps, the computer implemented method comprising: presenting, by a debugger in the computer, code on a graphical user interface, wherein the code presented on the graphical user interface is code of an application that is currently running; executing, by the debugger in the computer, a portion of the code of the application until a breakpoint is reached at a line of code in the portion of the code; responsive to execution of the portion of code of the application reaching the breakpoint at the line of code in the portion of code, determining, by the debugger in the computer, whether a change from an initial thread of the currently running application to a current thread of the currently running application occurred when execution of the portion of the code stops at the line of code in the portion of the code; and responsive to a change from the initial thread to the current thread, displaying, by the debugger in the computer, a graphical indication identifying a thread swap in the graphical user interface of the debugger in association with the line of code in which the thread swap occurred in the currently running application.