Tips & Tricks

30 Days with IntelliJ IDEA. Debugger

Thank God it’s Friday! But before you start enjoying the weekend, we have one more article to share with you from our 30 Day Guide, exploring the trickiest features of IntelliJ IDEA.

Today we will talk about such an essential tool as the debugger. If you think you know everything about it, you’re in for a surprise. With IntelliJ IDEA, the productivity-enhancing possibilities are endless.

Smart step into

Did you know that IntelliJ IDEA lets you choose a method to step into when you stay at line with more than one method calling? To do that you have to use Smart step into action via Shift + F7 (Cmd + F7 for Mac). This is a great time-saver.

Marked instances

As you may know, the debugger in IntelliJ IDEA lets you mark any instance with a colored label so you can recognize it easily while debugging. But you probably didn’t know that you can use these labels in a breakpoint’s condition expression.

Action breakpoints

One more feature you should be aware of is Action breakpoint. It can be useful if you want to evaluate something at a particular line of code without actually making a stop. To create this kind of breakpoint, just click on the gutter while holding Shift.

Please read the complete article to learn more tricks about debugging in IntelliJ IDEA.

Develop with Pleasure!

Discover more