How to inspect a variable on a JSP page?

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.

Tags:

Java

Eclipse

Jsp