Is there any way to get the eclipse debugger to report the intermediate return values of the functional subterms of a complex android expression without declaring variables for every subterm?
For example, in the following code I would like to know the return values of each function (getPaddingRight, getPaddingLeft etc.):
if (tview.getPaint().measureText(q_text.toString(<=tview.getWidth()-tview.getPaddingRight()-tview.getPaddingLeft()){
//take actions
}
Edit: if you mouse over the q_text or tview you get the properties for that object, but not the return value of the function. You can just look up the value for getWidth for example by looking at the mMeasuredWidth property of the tview object, but I’m wondering if there is a general solution for the return value of any function.
I finally found an easy way to do this:
Note: If the tab “Expressions” is not in the upper right window then right click on one of the variabls in the “Variables” tab and click on the “Watch” menu entry and the “Expressions” tab will appear.
Using Helios Service Release 2