Debugging Java with IntelliJ IDEA

code

This course is a fully practical and example-based comprehensive course that will help you learn and master the basics of Java debugging using the popular Intellij IDEA IDE. When working on real Java projects or learning the language, debugging is a key aspect that you must learn in order to handle programming related problems or to properly understand any application flow.

Intellij IDEA is one of the most popular IDEs used for Java programming.

This course will give you a solid foundation to easily learn and master debugging techniques and chips using Intellij IDEA.

The entire course is organized into the following categories:

  • Basic debugging features
  • Advanced debugging features
  • Examples of debugging problems and their solutions

Basic debugging features cover:

  • Stopping points and starting a program in debug mode
  • Controlling program execution during debugging
  • Smart transition and running to the cursor
  • Expression observation and evaluation
  • Inspect Variables – View Variable Values
  • Change variable values in real time during a debugging session
  • Filter arrays and collections in variables or control values
  • Conditional checkpoint
  • Exception Checkpoints
  • Action checkpoints
  • How to manage checkpoints
  • Forcing return and excluding an exception
  • Field Observation Points
  • Class Level Watches
  • Using skip frames

Advanced debugging features cover:

  • Debugging lambda expressions and threaded operations
  • Step-by-step control
  • Visualizers of custom data types on demand
  • Debugging the Spring Boot Web Service
  • Spring Boot web service for remote debugging
  • Attaching custom labels to JVM objects
  • Debugging a web project in Tomcat using Intellij IDEA Community Edition
  • Debugging a web project in Tomcat using Intellij IDEA Ultimate Edition
  • Debugging a web application using the Maven Tomcat plugin
  • Remote Debugging Web Project in Tomcat using Intellij Community Edition

The course first starts with the basics of debugging and then gradually moves on to the practical aspects of debugging with simple examples.

After covering the basic aspects, the basic and advanced debugging features of Eclipse are explained.

By the end of this course, you will have mastered the basics needed to debug Java-based applications using Intellij IDEA.