Troubleshooting Techniques for Complex Codebases
summary
Fixing Scala 3 (Dotty) compiler bugs focuses on getting fast, repeatable experiments: the workflow standardizes every report into an issue reproduction script and folder, adds an sbt plugin that exposes an issue command to run multi-line sbt and bash steps, and scripts the editor to enable alt-click stack-frame jump and automatic insertion of a Pinpoint-style logging block. The pipeline handles dozens of stack frames and hundreds of method calls, cuts rerun overhead, and demonstrably speeds root-cause navigation and sense‑making in the compiler codebase.
AI-written summary · about
chapters (7)
- 0:00Introduction to debugging
- 4:26Troubleshooting phases explained
- 8:21Standardizing issue reproduction
- 18:15Q&A and setup demo
- 21:24Navigation and error tracing
- 24:14Live debugging demonstration
- 28:25Conclusion and key takeaways
related talks
49mTreat Your Code as a Crime Scene
36mWhy programming is fiendishly difficult and what we can do about it
52mEscaping Developer Nightmares
14mShow Me Why It's Correct: Saving 1/3 of Debugging Time in Program Repair with(…)
54mResolving technical debts in software architecture
40mLessons from two decades of writing bad code
46mYour Code Base as a Crime Scene
34mHow I learned to stop worrying and love Functional Design
