Java debugging tips & tricks
summary
Demos show concrete techniques: live expression evaluation, IntelliJ IDEA’s JShell console and smart step into for lambdas, conditional breakpoints that inject code, and Eclipse / NetBeans equivalents. The debugger mutates private and final fields (even string bytes), can force-return values, track class load/unload and instance counts, mark objects, and create logical views of collections. Measurements claim low overhead when launching in debug mode and examples run interactively so the tricks actually work.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 1:32Recruitment videos
- 3:01Agenda
- 4:42Setup
- 14:39Step filters
- 22:18Force returns
- 26:01Debugging classes
- 29:41Debugging individual objects
- 36:36Logical structures
- 39:26References
related talks
43mDebug Better in Android Studio
58mPractical Java Problem Solving: A Hands-On Guide to Debugging
41mDebugging Clojure Code Wtih Cursive
36mDAAS: Debugging as a skill!
21mAbstract Debuggers: Exploring Program Behaviors Using Static Analysis Results
53mInteractive session
36mTesting Tricks with Kotlin
14mDebugging debuggers!!!
