使用 PyDev 的 Eclipse 表达式视图 - 展开对象
我的工作使用 Eclipse 和 PyDev。
我在其他地方看到过(http://help.eclipse.org/indigo/topic/org.eclipse.jdt.doc.user/reference/views/expressions/ref-expressions_view.htm),可以有表达式视图具有“可扩展”对象,因此可以“打开”表达式的结果以查看该对象的字段。
变量视图支持这一点,这对于调试非常有用。但出于某种原因,这不适用于“表达式”视图...当有很多元素(例如,在列表中)时,“变量”视图很难浏览...所以有类似 my_list[ 10241]
在“表达式”视图中可以显示该列表的特定元素,而无需在“变量”视图中向下滚动 10241 个元素(如果可能的话,大多数时候我尝试这样的操作,显示元素的数量设置为 500无论如何)来扩展该元素的字段。
有人知道这件事吗?可能吗?如果可能,如何实现?
I use Eclipse and PyDev for my work.
I have seen elsewhere (http://help.eclipse.org/indigo/topic/org.eclipse.jdt.doc.user/reference/views/expressions/ref-expressions_view.htm) that it is possible to have the expressions view have "expandable" objects, so that one can "open" the result of an expression to see the fields of that object.
The Variables view supports this, which is VERY useful for debugging. For some reason though, that doesn't apply to the Expressions view... when there are lots of elements (say, in a list), the Variables view is hard to browse... so having something like my_list[10241]
in the Expressions view could bring up a specific element of that list without having to scroll down 10241 elements in the Variables view (if even possible, most of the times I tried something like this, the number of shown elements is set to 500 anyway) to expand that element's fields.
Does anyone know about this? Is it possible, and if yes, how?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
PyDev 没有这个功能。请为此创建一个功能请求。
PyDev does not have that feature. Please create a feature request for that.