This content has been marked as final. Show 3 replies
Set breakpoint using createBreakpointRequest().
When it hits the breakpoint BreakpointEvent will be posted.
Hope this helps.
First find the ReferenceType corresponding to the class file name by walking through all loaded class(see VirtualMachine . allClasses() method). Then use the locationsOfLine() method of ReferenceType to get the Location.