debugging: howto access function arguments and return values? [message #150021] |
Thu, 27 April 2006 12:14 |
Eclipse User |
|
|
|
Dear all,
debugging my Java code with eclipse-sdk is quite nice. The variable window
shows me the current values of the accesible variables.
What I am missing is access to function arguments and return values that
are the return value of other functions. Example:
return foo(bar(x));
Now, let us assume that the execution of bar(x) succeeded. The next thing
the debugger will do is to enter function foo(). But what was the result
of bar(x)?
Is there a way to access the return value of bar(x) without (a) stepping
through bar(x) until the calculation terminates and (b) without entering
foo() and examining its argument?
The situation gets more confusing if functions directly return values
computed by other functions.
Thank you,
Ulrich
|
|
|
Powered by
FUDForum. Page generated in 0.30240 seconds