0 Replies Latest reply: Feb 20, 2010 5:13 AM by 843810 RSS

    JDI: Relocating the execution point of a thread

    843810
      Hi, I'm new to JPDA and JDI.
      Suppose I have a suspended thread inside a method.
      Is it possible to step back a thread's execution? or relocate the execution to an earlier location in the program?
      I figured I might be able to pop the stack, somehow undo the side-effects of the partial execution of the method, and re-enter the method, but isn't there an easier way?

      Thanks in advance.