Eclipse - Expressions & Add Watch Expression
- Window -> Show View -> Other...

- Show View -> Debug -> Expressions -> Open

- Debug 模式下出现 Expressions 窗口

- Debug 模式下,如果需要查看指定变量或者返回函数的值,直接右键变量或者函数名,点击 Add Watch Expression...,即可将该变量或者函数加入 Expressions 中,这样就可以观察变量或者函数的返回的值了。

References
[1] Yongqiang Cheng, https://yongqiang.blog.csdn.net/