0 Replies Latest reply on May 15, 2013 6:30 PM by 822292

    JPDA - invokeMethod causes vm.resume, any way to break after invokeMethod?

      When you call invokeMethod on an ObjectReference, you are typically doing this after you have hit a breakpoint. Specifically, I am doing it after a MethodEntryEvent. When calling the 'invokeMethod' method, it causes the VirtualMachine to resume, thus any further 'invokeMethods' on other objects will trigger an exception saying that 'Thread has been resumed'. Is there any easy way of having the ability to call multiple methods at a single break event? (note: I have tried calling invokeMethod with both options: INVOKE_SINGLE_THREADED and INVOKE_NONVIRTUAL). Thanks.