Ensime LogoScala Debugger

Scala abstractions and tooling around the Java Debugger Interface.

Installation

Demos

  • val fileName = "file.scala"
    val lineNumber = 37
    
    scalaVirtualMachine.getOrCreateBreakpointRequest(
      fileName,
      lineNumber
    ).foreach(breakpointEvent => {
      val f = breakpointEvent.fileName
      val l = breakpointEvent.lineNumber
    
      println(s"Reached breakpoint $f:$l")
    })
  • myFunc := func(a, b) {
      a + b
    }
    
    result := myFunc 3 9
    
    print("Result is " ++ result)