如何在Eclipse中扩展变量视图中的所有节点? [英] How to expand all nodes in the Variables View in Eclipse?

查看:125
本文介绍了如何在Eclipse中扩展变量视图中的所有节点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图使用Eclipse调试JSP页面。设置断点,并想知道几个变量的当前值,例如这一个:

 < c:set var =flowsvalue =$ {model.flows}/> 

但是, hovering over不工作,所以试图使用变量视图,看起来像:





它们中的每一个都具有复杂的树结构找到我所需要的并不明显有没有一个快速的方法来扩展树中的所有节点,而不需要大量的鼠标点击?或者搜索整个树?

解决方案

我在日食中遇到了同样的问题。没有找到一个简单而简单的解决方案,我决定覆盖我所有对象的 toString 方法。
这让我有可能在调试模式变量选项卡中获取最重要的数据的String表示$ c>没有进入复杂的树结构。
当然,这个解决方案有很大的努力,但是一旦完成了故障排除就会变得容易一些。


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.

这篇关于如何在Eclipse中扩展变量视图中的所有节点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆