We have written a custom tracer using JVMTI which gets the runtime call flow from a Java Application hosted at any server(Tomcat/JBoss). Now, we would like to get the list of executed statements of those methods which are part of runtime call flow. Basically we are looking for which control statements have participated during the runtime. Is there a way we could achieve this using JVMTI? If not JVMTI, can anyone help me if there are any other options to achieve this.
Regards, NAK