Patent ID: 8307346

Claim:
A method, comprising: performing, by a computer: receiving code that has been instrumented for debugging with a transactional memory debugger, wherein the transactional memory debugger is usable to debug programs that are executed using transactional memory; initiating debug execution of the code using the transactional memory debugger; and during debug execution of the code: the transactional memory debugger receiving input defining an atomic group of variables, wherein the atomic group of variables comprises a plurality of variables that are accessed by the code, wherein the code comprises a transaction that is executed using transactional memory, and wherein the variables in the atomic group of variables are accessed within the transaction; the transactional memory debugger accessing the plurality of variables in the atomic group of variables for reading or writing; and ensuring that the accesses to the plurality of variables in the atomic group of variables that are performed by the transactional memory debugger are consistent with each other.