Johannes Bechberger
Debugging Unveiled: Exploring Debugger Internals and Hidden Gems
#1about 5 minutes
Why debuggers are an essential developer tool
Debugging helps find and fix bugs, analyze code, add logging, and change behavior on the fly.
#2about 4 minutes
Understanding the Java Platform Debugger Architecture (JPDA)
The JPDA consists of the Java Debug Interface (JDI), the Java Debug Wire Protocol (JDWP), and the JVM Tool Interface (JVMTI) to connect an IDE to a JVM.
#3about 4 minutes
Exploring on-demand and remote debugging features
Use remote debugging to connect to any JVM and leverage on-demand features like starting a debug session when a specific exception is thrown.
#4about 12 minutes
A deep dive into the Java Debug Wire Protocol (JDWP)
The JDWP facilitates communication between the debugger and the JVM through a series of requests, events, and replies to manage state and execution.
#5about 7 minutes
How conditional breakpoints are emulated by the IDE
Since the JVM lacks native support, IDEs emulate conditional breakpoints by suspending the thread at every hit and evaluating the condition on the client side.
#6about 6 minutes
Optimizing conditions and the impact on JIT compilation
Improve performance by embedding complex conditions in the code or a separate method, and be aware that setting any breakpoint de-optimizes the method.
#7about 6 minutes
How features like HotSwap and Force Return are implemented
Features like HotSwap, setting values, and forcing returns are implemented using specific JDWP commands that directly instruct the JVM to modify its state.
#8about 15 minutes
Key takeaways and Q&A on debugger internals
A summary of debugging best practices is followed by a Q&A session covering topics like cross-language debugging and future trends like Project Loom.
Related jobs
Jobs that call for the skills explored in this talk.
tree-IT GmbH
Bad Neustadt an der Saale, Germany
€54-80K
Intermediate
Senior
Java
TypeScript
+1
Matching moments
01:32 MIN
Organizing a developer conference for 15,000 attendees
Cat Herding with Lions and Tigers - Christian Heilmann
04:57 MIN
Increasing the value of talk recordings post-event
Cat Herding with Lions and Tigers - Christian Heilmann
03:17 MIN
Selecting strategic partners and essential event tools
Cat Herding with Lions and Tigers - Christian Heilmann
02:39 MIN
Establishing a single source of truth for all data
Cat Herding with Lions and Tigers - Christian Heilmann
03:39 MIN
Breaking down silos between HR, tech, and business
What 2025 Taught Us: A Year-End Special with Hung Lee
03:28 MIN
Why corporate AI adoption lags behind the hype
What 2025 Taught Us: A Year-End Special with Hung Lee
06:10 MIN
Understanding global differences in work culture and motivation
The Future of HR Lies in AND – Not in OR
14:14 MIN
Scripting presentations and demos in VS Code
Devs vs. Marketers, COBOL and Copilot, Make Live Coding Easy and more - The Best of LIVE 2025 - Part 3
Featured Partners
Related Videos
Talk to the Duck - Secrets of the Debugging Masters
Shai Almog
Let's make your Java code Bug-Proof
Aicha Laafia
Java 21: The Revolution of Virtual Threads - A Deep Dive
Christian Woerz
Debugging in the Dark
Nishil Patel
Beam Me Up, Java! Unraveling the Warp-Speed Evolution: A Journey through Java LTS Versions 11 to 21
Jonathan Vila
Write tests you love, not hate
Jens Happe
Best of Java 15 and beyond—my favorite features
Michael Inden
ChatGPT and Java: A Match Made in Heaven or Hell?
Jakov Semenski
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.


JetBrains GmbH
Berlin, Germany
API
GIT
Java
Gitlab
Kotlin
+2

JetBrains
Amsterdam, Netherlands
Java
JUnit
Maven
Gradle
Python
+4

JetBrains GmbH
Berlin, Germany
API
Java
Rust
Kotlin
IntelliJ


DIS AG
Dresden, Germany



Haeger Gmbh
Bonn, Germany
Remote
Java
React
Angular
Continuous Integration