Preventing the debugger from evaluating lists in an object

When an object is expanded in the frame tab of the debugger, IDEA evaluates each List attribute of the object so it can display something meaningful about the list including size.

I'm using hibernate on a project and the every time idea evaluates a hibernate lazily loaded collections, there is a considerable delay because it's doing a db access.

Is there a way I can tell idea to not do this for lists? Ideally, I'd like to be able to shut it off, but then when I expand the list object itself in the debugger, then this evaluation would occur.

-Jay

p.s. I'm using build 996

1 comment
Comment actions Permalink

DOH! I just stumbled across the "Alternate view for Collections classes" checkbox on the Customize Frame View dialog. This does exactly what I needed.

0

Please sign in to leave a comment.