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

Managing breakpoints


There are a couple of breakpoint types in IntelliJ IDEA: the line, exception, field, and method breakpoints. Let's start with the most common type: the line breakpoint.

The line breakpoints are placed on the gutter. We described the gutter in the very first chapter. To position the breakpoint, simply click on the gutter where you want the debugger to stop. You can also use the Ctrl + F8 (PC) or cmd + F8 (Mac) keyboard shortcut. The selected line will be shaded in red and the big red dot on the gutter will represent the breakpoint as shown here:

Tip

Line breakpoints can be set on executable lines only. Comments, declarations, and blank lines are not suitable locations for line breakpoints.

Another type of breakpoint is the method breakpoint; it lets you follow the program flow at the method level. To set the breakpoint on the method, just click on the gutter near the method signature as shown in the following screenshot:

Be warned, however, that the method breakpoint will...

Visually different images
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