O'Reilly logo

sbt in Action by Josh Suereth and Matthew Farwell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. Debugging your build

This chapter covers

  • Figuring out why your build won’t compile
  • Ensuring tasks will run when desired
  • Correctly resolving dependencies

In this chapter we’re going to look at a set of common failures in sbt and how to debug the underlying causes. The goal of this chapter is to learn how to debug sbt by understanding the initialization, loading, and execution of your build. Throughout the chapter, we’ll dive a bit deeper into the core aspects of sbt, and you’ll see the same concepts from chapter 3 in a new light.

Debugging in sbt takes on different aspects, depending on where in the lifecycle the failure is occurring, which correlates to the lifecycle of an sbt build. Let’s take a look at a loose sketch of what ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required