开发者

Read information from eclipse "Variables" or "Watch" when in debug mode

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:

Read information from eclipse "Variables" or "Watch" when in debug mode

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):

Read information from eclipse "Variables" or "Watch" when in debug mode


I agree with vonc answer above but you really wanted Watch equivalent in eclipse.

i.e "Expression" third tab from variable ...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜