May 12, 2005

Evaluate Expression in IntelliJ IDEA

Recently I found out another cool feature of IntelliJ IDEA's debugger - evaluate expression of the selected in the Frame view item.
Every IDEA user knows that you can select some expression and evaluate it via Alt-F8 while debugging. But I didn't know that I can use Alt-F8 for any selection in Frame view of IDEA's debugger. Using this feature, you can, for instance, evaluate/set runtime value for collection items or map entries.
See screenshot.