How to inspect a variable on a JSP page

五迷三道 提交于 2019-12-04 22:57:59
Martín C

Here is a solution worked for me:

In Eclipse open the Display tab view (Window -> Show View -> Display) In the Display tab write the variable or expression you want to inspect. Select it and do a right click and you'll have the a menu with the option inspect (or you can do a Ctrl + Shift + I), it will show you the value of the variable.

Hope it helps!

Struggled with the same problem and then looked at the variables View(Window) in Eclipse. All variables are there with their names and values.

But watch/inspect entries are indeed missing in right click menu.

BTW, I'm using Eclipse Kepler.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!