access "constructor fields" via evaluate expression
hi,
in the debugger view, variables defined in the constructor have those really long generic looking names with lots of $ in it. is there a way to access them using "evaluate expression"?
请先登录再写评论。
Workaround for debugger is to create some method with parameter to evaluate this inside new method after recompilation.
I hope work on debugger (to use Scala syntax without any problems) will start, but I'm not sure, that it will be soon.
Best regards,
Alexander Podkhalyuzin.
any chance the debugger will be able to evaluate expressions like "myList.count(_.countMe)"? will it be able to create instances of closures on the fly?
Anonymous functions is new classes creation. JVM doesn't support such evaluations (as anonymous classes for Java too). So using JVM API it's impossible.
Best regards,
Alexander Podkhalyuzin.