Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying IntelliJ IDEA Essentials
  • Table Of Contents Toc
IntelliJ IDEA Essentials

IntelliJ IDEA Essentials

By : Jaroslaw Krochmalski
3.8 (5)
close
close
IntelliJ IDEA Essentials

IntelliJ IDEA Essentials

3.8 (5)
By: Jaroslaw Krochmalski

Overview of this book

Starting with a walkthrough of the main workspace, you will get up and running with IDEA from the word go. You will learn how to exploit IDEA's software development tools and use the various product features such as source code control, the debugger, and the many code generation tools. You will then move on to advanced topics such as how IntelliJ helps in version control, managing change lists, viewing differences and changes, and reverting changes. You will also learn how IDEA can be used for agile development and web development, as well as its integration with frameworks such as Gradle. Complete with tips and tricks, this book will make sure that you have an in-depth and extensive knowledge of informed programming.
Table of Contents (12 chapters)
close
close
11
Index

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:

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; you can use this ID to define the breakpoint instance filter. Each variable in the tab has a context menu when you right-click on it as shown in the following screenshot:

The Set Value option allows changing the variable value. Inspect, available for fields, local variables, and reference expressions, will display and track its reference in its...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
IntelliJ IDEA Essentials
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon