/scala-debugger

Scala libraries and tooling utilizing the Java Debugger Interface.

Primary LanguageScalaApache License 2.0Apache-2.0

Scala Debugger

Stories in Ready Build Status Build status Scaladex Scaladoc 2.10 Scaladoc 2.11 Scaladoc 2.12 Gitter

A simple debugger library for Scala. Tested on OpenJDK 7 for Windows and Linux.

  • Visit the main site for more documentation.
  • Check out the wiki for the current roadmap.

Installing with SBT

Hosted on Maven Central and can be installed via the following:

libraryDependencies += "org.scala-debugger" %% "scala-debugger-api" % "1.0.0"

You also need to install the sbt plugin to make the Java Debugger Interface jar (tools.jar) available on your classpath when you are compiling and testing:

addSbtPlugin("org.scala-debugger" % "sbt-jdi-tools" % "1.0.0")

Building from source

From the root of the project:

sbt compile

Running tests

Make sure that you have sbt-extras installed as it will pick up memory and compiler options from .jvmopts.

Unit Tests

From the root of the project:

sbt test

Note: Roughly 2.5 GB of RAM is needed to compile the unit tests.

Integration Tests

From the root of the project:

sbt it:test

License

The Scala debugger API is licensed under Apache 2.0.