Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Java SE Debugging Fundamentals to AI-Assisted Workflows
New
2 students

Java SE Debugging Fundamentals to AI-Assisted Workflows

Master Java SE debugging, profiling, memory leak analysis, and Spring AI workflows to find and fix bugs faster.
Created byACHRAF ER-RAYA
Last updated 10/2026
English

What you'll learn

  • Debug Java SE apps using conditional breakpoints, field watchpoints, and stack frame analysis to find root causes fast.
  • Analyze thread dumps and CPU spikes to identify, isolate, and resolve application deadlocks and performance bottlenecks.
  • Detect and fix memory leaks and heap space issues using JDK command-line tools and VisualVM profiling.
  • Integrate Spring AI and LLMs to automate stack trace analysis, error diagnosis, and regression unit test generation.

Course content

5 sections • 11 lectures • 2h 17m total length
  • Master IDE Debuggers & Thread Dumps to Locate Runtime Errors Fast13:31
  • Master IDE Debuggers & Thread Dumps to Locate Runtime Errors Fast (PART2)12:46

Requirements

  • Basic knowledge of core Java programming and JDK 17 or higher installed with an IDE like IntelliJ IDEA.

Description

This course contains the use of artificial intelligence.

Most Java developers lose hours to bugs they could fix in minutes. This course gives you a repeatable method to find the real cause, prove it, and fix it for good.

Who this course is for

  • Java developers with 0-3 years of experience who still debug with System.out.println

  • Junior developers who want to be trusted with production issues

  • Spring Boot developers who want to add AI features responsibly

  • Career switchers who know Java syntax and need professional troubleshooting skills

  • Teams that want a shared, evidence-based debugging process

What you will learn

  • Read stack traces and “Caused by” chains in seconds

  • Reproduce any bug on demand with a minimal JUnit 5 test

  • Use conditional, logging and exception breakpoints in IntelliJ

  • Prove the root cause with a hypothesis, not a hunch

  • Fix bugs with a failing-test-first workflow

  • Diagnose deadlocks and hangs with jcmd thread dumps

  • Find memory leaks using heap histograms and the dominator tree

  • Profile CPU and allocation hot spots with Java Flight Recorder

  • Use AI assistants safely: redaction, ranked hypotheses, mandatory verification

  • Build a Spring AI debugging endpoint with structured output

Requirements

  • Basic Java knowledge (classes, interfaces, collections)

  • JDK 17 or 21 and IntelliJ IDEA Community Edition installed

  • Maven or Gradle basics helpful. No Spring experience required

  • An API key for an AI model provider for Section 4 (a free tier or a local model also works)

Final project
You inherit OrderService, a Java 21 service with five planted defects: a null pointer, a data-size equality bug, a collection modification bug, a memory leak and a deadlock. You write a bug report and a failing test for each, prove each root cause with JDK tools, and fix it. Then you build a Spring AI endpoint, POST /triage, that redacts sensitive data from a stack trace and returns ranked hypotheses with a verification step for each. You score your work with the included rubric.

Who this course is for:

  • Java developers and software engineers looking to master advanced debugging, profiling, and AI-assisted workflows.