Patent ID: 8667471

Claim:
A method comprising: receiving, at a first virtual machine from a second virtual machine, a request for a customized profiling session for one or more profiling entities of a plurality of entities associated with a thread associated with a software application at a computing system; separating, at the first virtual machine, one or more profiling entities from the rest of the plurality of entities based on semantical information corresponding to the thread, wherein the semantical information provides classification of each entity of the plurality of entities associated with the thread; and initiating and running, on-demand, the customized profiling session at the first virtual machine for the one or more profiling entities associated with the thread based on the semantical information corresponding to the thread, wherein the on-demand initiating and running are performed independent of default profiling agents or default debugging agents and in runtime without having to stop or restart the first virtual machine or an application server hosting the first virtual machine; and communicating, from the first virtual machine to the second virtual machine, resulting profiling information obtained from running of the customized profiling session.