scalacenter / scala-debug-adapter

Implementation of the Debug Adapter Protocol for Scala

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expr evaluator in Java file: throws ClassNotFoundException: pack.ExpressionXYZ

sjrd opened this issue · comments

When debugging, find a stack frame that comes from a .java file. The one I ran into was scala.runtime.function.JProcedure. Try to evaluate an expression that cannot be evaluated by the run-time evaluator (I tried t1, which does not work because the argument names are not stored for that class apparently). You get the following exception:

"java.lang.ClassNotFoundException: scala.runtime.function.Expression5e0a2f97f1024c0c82cba6267c14bfc8"

Not sure why but I did not manage to reproduce this bug:
image

Can you try to reproduce it on the latest version of sbt-debug-adapter (4.0.2)?