Suppose in jdb I am in the following place in the code:
return 22; -->}
How can I reset the value of the returned object (or primitive)? It seems that pain should store the return value in a local variable before returning it so that I can see what will be returned.
In fact, I want to do in jdb what is described in the link for gdb:
How to check function return value in gdb?
java debugging jdb
Ben h
source share