Possible Duplicate:
Program Counter register values for a Java program
Is it possible to obtain the program counter (PC) register values of a running Java application?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It depends on how you want to go about it. For example, if via the JVM Tool Interface, there is an exposed function named
GetFrameLocation. This should be equivalent to the program counter.