Debugger: Convert java expression to kotlin when open EE dialog from Variables View

#KT-6805 Fixed
This commit is contained in:
Natalia Ukhorskaya
2016-03-29 10:52:48 +03:00
parent e0adfd453f
commit a93db70995
6 changed files with 188 additions and 32 deletions
@@ -0,0 +1,19 @@
package createExpressionSimple
class MyClass: Base() {
val i = 1
}
open class Base {
val baseI = 2
}
fun main(args: Array<String>) {
val myClass: Base = MyClass()
//Breakpoint!
val a = 1
}
// PRINT_FRAME
// DESCRIPTOR_VIEW_OPTIONS: NAME_AND_EXPRESSION