scala-debug-adapter icon indicating copy to clipboard operation
scala-debug-adapter copied to clipboard

Implementation of the Debug Adapter Protocol for Scala

Results 55 scala-debug-adapter issues
Sort by recently updated
recently updated
newest added

I cannot evaluate `"".size` using the runtime evaluation because `size` comes from the `StringOps` extension. Maybe, we should treat `String` as a special case and try to convert it to...

enhancement
runtime evaluation

If I have: ```scala val table: Array[Int] = ??? ``` I cannot run the expression `table(0) = 2`. It returns `Unsupported assignment`.

enhancement
runtime evaluation

Using the runtime evaluator I would like to evaluate such expression as `1.toDouble`.

enhancement
runtime evaluation

## Problem It is not possible to evaluate a local lazy val in Scala 3 (probably also in Scala 2) because the local variable is not visible in the class...

enhancement
expression compiler

In Scala 3: ```scala package example class MySuite extends munit.FunSuite { def sum(list: List[Int]): Int = list.sum test("sum of a few numbers") { assertEquals(sum(List(1,2,0)), 3) // breakpoint here } }...

bug
decoder

Evaluating a `null` value returns an error instead of `null` ```scala case class Nullable(s: String) @main def test = val test = Nullable(null) ``` Evaluating `test.s` fails with a `NullPointerException`...

bug
runtime evaluation
spree

While debugging [metals](https://github.com/scalameta.metals). I stumbled upon a weird error. ``` > url $ URL@185 "file:/home/lucasn/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.11/scala-reflect.jar" > 1+1 $ Cannot evaluate because of java.lang.Exception: Unsupported evaluation in JDK: zulu17.32.13-ca-jdk17.0.2-linux_x64 ``` `url`...

## Problem The evaluation of a local method or a local class in a value class is currently not supported. ```scala package example class A(self: String) extends AnyVal: def m(size:...

enhancement
expression compiler