O'Reilly logo

IntelliJ IDEA Essentials by Jarosław Krochmalski

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Inspecting variables and evaluating expressions

During the debugging session, IntelliJ IDEA will present the values of the variables in the editor itself, next to the variable usage, as shown in the following screenshot:

Inspecting variables and evaluating expressions

While this may be useful as a quick overview for the current state, the Variables tab gives you the opportunity to examine the values of the variables in your application in more detail. When a stack frame is selected in the Frames tab, the Variables tab displays all the variables within its scope, such as method parameters, and local and instance variables. Variable here are listed with their unique internal IDs we mentioned earlier; ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required