I'm attempting to use Eclipse to debug a JSP page. Have set breakpoints and would like to know the current value of a couple of variables, e.g. this one:
<c:set var="flows" value="${model.flows}" />
However, hovering over doesn't work so am attempting to use the Variables View, which looks like:
Each one of these has a complex tree structure so finding what I need isn't obvious. Is there a quick way to expand all the nodes in the tree without lots of mouse clicking? Or search the whole tree?
I fought with the same problem in eclipse. Without finding a short and easy solution I decided to overwrite the toString
method for all of my objects.
That gaves me the possibility to get a String representation with the most important data inside the Variables tab
of the debug mode
without step into the complex tree structure.
Of course that solution has a high effort but if it is done once the troubleshooting is much easier.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With