Patent ID: 8635600

Claim:
An apparatus comprising: one or more processors; and a computer readable storage medium having computer readable program code embodied therewith and executable by the one or more processors, the computer readable program code comprising: computer readable program code configured to select a method for tracing; computer readable program code configured to select a thread for tracing; and computer readable program code configured to output thread-specific tracing data in response to at least one identifying aspect of the thread selected, invoking the method selected in one of a run-time environment and a virtual machine; wherein the at least one identifying aspect comprises a thread name, and the computer readable program code configured to output thread-specific tracing data in response to the thread selected invoking the method selected is further configured to apply tracing options that are identical for two or more threads having a same name; and at least one of the following (a) or (b): (a) the computer readable program code configured to output thread-specific tracing data in response to the thread selected invoking the method selected being further configured to apply a tracing option to a first selected thread created with a specified name and disregard any subsequent threads with the specified name; or (b) computer readable program code configured to intercept a thread name change for a thread selected for tracing and provide tracing output for the thread selected that has undergone a name change.