
Learn the basics and advanced features of debugging Java with IntelliJ IDEA, including breakpoints, watches, variable inspection, and debugging Spring Boot web service, remote debugging, and Tomcat deployments.
Adjust playback speed and video quality in Udemy to match your internet speed, with tips to use 1.5x–2x and 720p, and rate thoughtfully.
Get the most out of this course by getting live help from myself and other students!
I have set up an educational slack channel for students enrolled in this course!
Slack is an awesome product to collaborate in real-time.
You can use Slack to:
Get help with the course.
Help others with problems they are having.
Share news, tips, and tricks related to course topics in general
Or just say hi!
Slack Workspace Invitation Link:
https://join.slack.com/t/learningfromexp/shared_invite/zt-1fnksxgd0-_jOdmIq2voEeMtoindhWrA
Slack Group Name: java-debugging-with-intellij-idea-udemy
Download and install the JDK from Oracle for Windows 64-bit. Set JAVA_HOME to the JDK path, update PATH with bin, and verify with java -version.
Install IntelliJ IDEA community edition on Windows by downloading from the JetBrains site and running the installer. Set up a desktop shortcut and start using IntelliJ IDEA.
Configure IntelliJ IDEA by setting the JDK location for new projects, choosing the project SDK and language level, with a default Java 8 and per-project overrides.
Learn to debug with IntelliJ IDEA, place line breakpoints, and run in debug mode. Use step over, resume, stop, and rerun to control flow and view console output.
Track internal variables at breakpoints in IntelliJ IDEA and use watches to monitor complex expressions, or evaluate single expressions during runtime. Add to watches by right-clicking a variable.
Inspect variable values during Java debug session in IntelliJ IDEA using the variables panel, inline view, and tooltips. View primitive integers and object details such as person list.
Learn how to change variable values in real time during an IntelliJ IDEA debugging session, including setting a breakpoint at line 20 and updating primitive and list object values.
Use conditional breakpoints in Java debugging with IntelliJ to halt when list.get(i) is not a Person, revealing a class cast exception and pinpointing the exact problematic item in a loop.
Discover how Java exception breakpoints work in IntelliJ IDEA to catch class cast exceptions globally without line-specific breakpoints, using any exception filters and run-mode debugging.
Manage breakpoints in IntelliJ IDEA by adding, removing, enabling, disabling, and muting them, including method, field watch, and exception breakpoints; drag to move and test in debug mode.
Set a field watchpoint on an instance variable to trigger when the field is accessed or modified during debugging, and observe the trigger as objects are created.
Learn to create and manage class level watches in IntelliJ IDEA, using expressions like age > 0 on a person class to inspect fields during debug sessions.
Master debugging lambda expressions and stream operations in IntelliJ IDEA with a sample debug stream, using breakpoints, stream trace, and visualization of map, filter, and sort steps.
Configure stepping in IntelliJ: access file settings, build execution deployment debugger, and adjust stepping to skip synthetic methods and exclude packages such as spring framework from debugging.
Learn to customize debug displays in IntelliJ IDEA with on-demand Java type renderers for a person object, showing name, age, and country side-by-side and muting renderers to boost performance.
Demonstrates aligning IntelliJ IDEA projects with compatible JDKs and Spring Boot versions, using OpenJDK 17 with Spring Boot 2.5.5, configuring SDK and language level, and running Maven builds.
Debug a spring boot rest web service in IntelliJ IDEA by running in debug mode, placing a breakpoint at a method, and inspecting input parameters to see the output.
Learn to remotely debug a spring boot rest web service using IntelliJ, running the jar in debug mode on port 8001 and connecting to localhost:8080.
Mark and label JVM objects in IntelliJ during debugging, then reference labeled objects in expressions and set conditional breakpoints to halt at specific labeled items.
Debugging of JUnit Test Cases with Intellij
How to Debug Cucumber Tests with Intellij
Debug a Maven-based web application in Tomcat using the IntelliJ IDEA Community Edition and the Smart Tomcat plugin, setting breakpoints and inspecting variables in the login servlet.
Learn how to debug Maven-based web applications inside an embedded Tomcat using the Tomcat seven Maven plugin, configure in IntelliJ, set breakpoints, and run a sample login flow.
This lesson covers the following topics step by step
Create and Run Two Spring Boot MicroServices Locally from Intellij IDEA
Run the Spring Boot Microservices on Docker using docker-compose
Debug the Spring Boot Microservices on Docker using Intellij IDEA
Install Oracle WebLogic Server on Windows after Java is installed and the installer is downloaded. Sign in, extract, run the jar, and start the admin server to access the console.
Learn to deploy a sample web application to Oracle WebLogic Server, starting the server, deploying a war file, and controlling deployment with the WebLogic console.
Learn to debug a web application on Oracle WebLogic using IntelliJ IDEA Community Edition by building a war with Maven, deploying it, and attaching a remote debugger.
Install and configure the AWS CLI on Windows, verify the installation with aws --version and sts get-caller-identity, and troubleshoot command recognition by restarting explorer if needed.
Deploy AWS Lambda from IntelliJ IDEA using the AWS Toolkit to sync a serverless application, create or update the development stack, and expose the API gateway endpoint.
Master locally running and debugging a GCP cloud function in IntelliJ IDEA using Maven and the Google Cloud Functions framework, with curl tests on port 8080 and debugging with breakpoints.
Follow key debugging practices in java with IntelliJ IDEA: verify requirements, define input and output, read error messages, locate the exact line, analyze root causes, use breakpoints, test fixes.
Investigate a static print characters method that iterates over a string to print characters, invoked from main with Abcd, identify the exception it throws, understand its cause, and resolve it.
Investigate problem statement 2 in Java debugging with IntelliJ IDEA, where a person list is built and iterated, casting objects to Person, printing names, and diagnosing an exception.
Debug the print routes method in a Java quadratic equation program to compute roots from the determinant b^2 - 4ac and fix non-numeric outputs.
Debug a Java program in IntelliJ IDEA that reads numbers, computes an average, and converts Fahrenheit to Celsius; identify why outputs show infinity and zero, fix the code.
This lecture demonstrates debugging a deadlock in Java using IntelliJ IDEA, where two threads acquire two locks in reverse orders. It shows adjusting breakpoints and lock order to resolve deadlock.
Disclaimer: This course requires you to download Docker Desktop from its official website. If you are a Udemy Business user, please check with your employer before downloading software.
Intellij IDEA is one of the most popular IDEs out there used for Java programming.
This course is a entirely hands-on and an example based comprehensive course ,which would will guide you to learn and master the essentials of the Java Debugging using the popular Intellij IDEA IDE.
Powerful Debugging Skill at Your Fingertips
While working in real life Java projects or learning the language ,debugging is a key aspect which you must learn to handle programming related issues or understand any application flow properly .This course will give you a strong background to easily learn and master the debugging techniques and tricks using Intellij IDEA .
Content and Overview
Entire course is broken down to the following categories:
Basic Debugging Features
Advanced Debugging Features
Sample Debugging Problems And Their Solution
The basic debugging features covered:
Place breakpoints and run program in debug mode
Control program execution during debugging
Smart Step Into And Run To Cursor
Watch and Evaluate Expressions
Inspect Variables - View variables values
Change Variables value at real time during debug session
Filter Arrays and Collections in Variables or Watches
Conditional Breakpoint
Exception Breakpoint
Action Breakpoints
How to manage Breakpoints
Force Return and Throw Exception
Field Watchpoints
Class Level Watches
Use of Drop Frame
The advanced debugging features covered:
Debug Lambda Expressions and Stream Operations
Control Stepping
On Demand Custom Data Type Renderers
Debug Spring Boot Web Service
Remote Debug Spring Boot Web Service
Attach custom labels to JVM objects
Debug Web Project in Tomcat using Intellij IDEA Community Edition
Debug Web Project in Tomcat using Intellij IDEA Ultimate Edition
Debug Web Application using Maven Tomcat Plugin
Remote Debug Web Project In Tomcat Using Intellij Community Edition
The course initially starts with basics of debugging and then slowly moves to the practical aspects of debugging with easy examples.
Once the primary aspects are covered , the basic and advanced debugging features of Eclipse are explained.
The section Sample Debugging Problems And Their Solution is about sample problem solving on dummy debugging problem scenarios by applying the debugging skills you have learnt from the course.
By the end of this course, you will master the fundamentals needed to for Debugging java based applications using Intellij IDEA.