Debugging in Java: The Complete Guide
summary
Covers debugging tools for JVM applications, explaining how debugging differs from logging and tracing and detailing the JPDA architecture and its three components: JVM TI, JDI, and the JDWP protocol. Shows how IDE debuggers use those components to debug Java/Scala/Kotlin code locally and remotely, demonstrates console debugging with jdb, addresses tricky cases like generated-code and native-code debugging, gives a distributed-debugging example with Apache Spark, and finishes with JVM anti-debugging techniques.
AI-written summary · about
chapters (16)
- 0:00Introduction
- 2:04Debugging techniques
- 6:15Debugging terms and tools
- 8:01JVM debugging
- 12:12JPDA components
- 17:34Simple debugger
- 18:39JDB console
- 21:07IntelliJ debugging
- 23:15Multithreaded apps
- 24:59Remote debugging
- 27:48Security debugging
- 28:32Generated code debugging
- 33:11Native code debugging
- 36:22GraalVM debugging
- 37:46Anti-debugging
- 40:18Summary
