Skip to Content
IntelliJ IDEA Essentials
book

IntelliJ IDEA Essentials

by Jaroslaw Krochmalski
December 2014
Intermediate to advanced
276 pages
5h 54m
English
Packt Publishing
Content preview from IntelliJ IDEA Essentials

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:

Managing breakpoints

Tip

Line breakpoints can be set on executable lines only. Comments, declarations, and ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning IntelliJ IDEA: Integrated Development Environment for Java Programming

Beginning IntelliJ IDEA: Integrated Development Environment for Java Programming

Ted Hagos
Optimizing Java

Optimizing Java

Benjamin J. Evans, James Gough, Chris Newland

Publisher Resources

ISBN: 9781784396930