Hello,
How can I get the local variable value in methods ??
For example,
public class A {
public int sum(int a, in b) {
int x = 100;
return a + b + x;
}
}
You can insert some statement like:
System.out.println(x);
before the return statement if you know the
line number of that return statement.