Eclipse debugger and collections

前端 未结 2 1726
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-18 10:18

I have some collections that I would like to analyze in the Eclipse debugger. I am interested in a particular attribute of each element.

Let\'s take an example with

2条回答
  •  悲&欢浪女
    2021-01-18 10:54

    I think, the Eclipse Debugger feature you are interested is called logical structures. You could define a logical structure in Eclipse preferences (Java/Debug/Logical structures), where you could write such an expression (hopefully), and then on the variables view you could replace the display of the list in the pop-up menu.

    See this blog post for basic ideas: http://www.javalobby.org/forums/thread.jspa?threadID=16736&messageID=91823528

提交回复
热议问题