Mastering IntelliJ IDEA’s Debugger for Scala Development
Debugging in Scala can be frustrating, but it doesn’t have to be. Discover how IntelliJ IDEA’s debugger thanks to features like conditional breakpoints and smart logging, can help you pinpoint bugs faster and with less hassle. Leave with practical tips to debug smarter, not harder.
Debugging sounds like a very straightforward task. You place breakpoints, run the program, and see where it stops and what values the fields hold at that point. When it’s not enough, you make yourself a big warm mug of coffee, sprinkle the code with println statements, and mentally prepare for a day of reading logs and re-running the program over and over until it starts to make sense.
But if you have the right tools at your disposal, debugging in Scala does not have to be such a grueling task. This talk explores practical techniques and underused features of IntelliJ IDEA’s debugger to help you pinpoint bugs with precision, even in complex codebases. We will cover, among others, conditional breakpoints, log expressions, the call stack, the println debugger, and unsuspended breakpoints for logging. You will leave this talk with actionable insights to improve your debugging experience and reduce reliance on verbose log statements.
Hello there,
I'm a Product Marketing Manager in the Scala Plugin team at JetBrains. In practice, my job is very close to being a developer advocate. Among other things, I talk at conferences (well, d'oh), make YouTube videos, and teach Scala at a university. In free time... In free time I do the same, which makes my work-life balance really tricky. But I also love archeology, martial arts, and writing sci-fi and fantasy stories.
