What do you mean could you explain? If method doesn't have side effects you may invoke it using evaluate expression or you can step into it and check local variables values.
My goal is to be able to inspect a method's return value. Ideas: * One could set a bp on "end" stmt. Reaching "end" would show the return value as a pseudo local variable or watched variable. * Suppose one has stepped to the last executable stmt (eg, "return x"). Step Next would reach "end". * A Step to End command would reach "end". * Step Out would log the return value.
What do you mean could you explain? If method doesn't have side effects you may invoke it using evaluate expression or you can step into it and check local variables values.
Thx for replying.
My goal is to be able to inspect a method's return value. Ideas:
* One could set a bp on "end" stmt. Reaching "end" would show the return value as a pseudo local variable or watched variable.
* Suppose one has stepped to the last executable stmt (eg, "return x"). Step Next would reach "end".
* A Step to End command would reach "end".
* Step Out would log the return value.