i would like to read the information displayed in the "Variables" or "Watch" window when debugging.
is there any way to do 开发者_C百科that with out going into eclipse source code?
thanks.
As mentioned in "Tips and Tricks for Debugging in Eclipse", the variable view allows you to define exactly what you want to see from a given variable by writing your own formatter:
That way, an object don't just display its memory address, but its actual value (and only the one you have chosen to see at that):
I agree with vonc answer above but you really wanted Watch equivalent in eclipse.
i.e "Expression" third tab from variable ...
精彩评论