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

VSCode Debug Console not evaluating expressions

Open alegomes opened this issue 6 months ago • 1 comments

Create a very basic project with gradle init

image

Set a breakpoint and start debugging it...

image

..and try to evaluate expressions in the Debug Console.

It doesn't work :-(

alegomes avatar Dec 27 '23 10:12 alegomes

Currently only variables in the program can be "evaluated", arbitrary expressions are not supported yet:

https://github.com/fwcd/kotlin-debug-adapter/blob/7f05669b642d21afa46ac7b75307fa5d523a7263/adapter/src/main/kotlin/org/javacs/ktda/adapter/KotlinDebugAdapter.kt#L400-L412

fwcd avatar Jan 26 '24 01:01 fwcd