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; ...

Get IntelliJ IDEA Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.