Search code examples
scalacompiler-construction

Debugging Scala compiler code


I need to understand how Scala compiler works.

So I have cloned Scala git repository containing Scala compiler code What should be my next steps to debug compiler part of the code base?


Solution

  • Go to IDE setup part of doc. And you will see there links to per-IDE instructions. E.g. instructions for IDEA are pretty useful. After all steps you just need to create sandbox dir in project root, create your Test.scala class in sandbox And than run/debug