1 Reply Latest reply: Jan 11, 2009 3:27 PM by 843810 RSS

    Another question: how to trace local variables?

    843810
      Dear all, although my last question is still not solved, here comes another one...

      For a local variable declared in a method, say, i.e.:
      public void test(){
      int i = 0;
      int j =5;
      i = j;
      }

      Considering ModificationWatchPointEvent can only trace Fields. Is there any approach in JDI that may enable us to trace the modification of local variables such as int i above?

      Thanks.