IntelliJ Tips
To easily evaluate the value of any expression while debugging the program, select its text in the editor (you may press a ⌘W a few times to efficiently perform this operation) and press ⌥F8.