IntelliJ Debugger Tips & Tricks
summary
A small console blog app demonstrates practical IntelliJ features: using non-suspending breakpoints with Evaluate-and-Log to inject two posts into memory (no code changes), tracing a failing case with printed DTOs, using hot swap to recompile one method without restart, using drop frame to rewind to the caller (but not change arguments), forcing a method to return a fabricated DTO or throw an exception to alter control flow, and adding exception breakpoints to catch swallowed errors — all shown working end-to-end.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 3:20Debugger agenda overview
- 6:18Application setup
- 10:34Non-suspending breakpoints
- 14:37Advanced breakpoint logging
- 20:29Hot swap and code modification
- 29:02Analyzing execution flow
- 34:08Dropping and restarting frames
- 39:05Altering execution state
- 44:50Exception handling and wrap-up
- 49:49Closing
