~/talk

How to Debug - Lessons Learnt from 10 Years of Spring Boot

Talkat JavaOne 2025 · 2025-03-18..03-20· [java, developer-experience]
name:Phil Webb
links:none on file
slides:none on file

Ten years of Spring Boot yields concrete debugging habits: maintain a tiny reproducer (start.spring.io), paste full stack traces into a stack-trace console to jump to guilty lines, use GitHub permalinks (press Y) and detailed commit messages, and prefer conditional breakpoints and hit counts when stepping through code. The project records 4,395 bugs closed, many fixed by one-line changes plus tests, some requiring upgrades (Docker compose flag or library bump) or revealed by locale-specific bug (Turkey).

AI-written summary · about

  1. 0:00Introduction
  2. 1:31Defining bugs and debugging
  3. 2:15Types of bugs
  4. 3:44Reporting bugs effectively
  5. 5:03Creating a minimal reproducer
  6. 8:06Troubleshooting via reproduction
  7. 9:27Bug report formatting
  8. 12:11The life of a maintainer
  9. 13:21Git and GitHub fundamentals
  10. 15:09Importance of commit messages
  11. 17:58Using stack traces for debugging
  12. 18:56Writing tests to fix bugs
  13. 22:12Advanced breakpoint techniques
  14. 27:34Debugging in memory
  15. 30:55Debugging third-party code
  16. 33:23Environment specific issues
  17. 36:43Locale-based bugs
  18. 39:46Windows vs Linux differences
  19. 42:37Test pollution issues
  20. 44:17Handling library upgrades
  21. 45:53Summary and conclusions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.