Debugger: Fix lvalue evaluation (KT-11663, KT-19980)
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
package mutations
|
||||
|
||||
fun main() {
|
||||
var a = 5
|
||||
val b = 3
|
||||
|
||||
//Breakpoint!
|
||||
val x = 0
|
||||
|
||||
//Breakpoint!
|
||||
val y = 0
|
||||
|
||||
//Breakpoint!
|
||||
val z = 0
|
||||
}
|
||||
|
||||
// EXPRESSION: a = 100
|
||||
// RESULT: VOID_VALUE
|
||||
|
||||
// EXPRESSION: b = 200
|
||||
// RESULT: VOID_VALUE
|
||||
|
||||
// EXPRESSION: a + b
|
||||
// RESULT: 300: I
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
LineBreakpoint created at mutations.kt:8
|
||||
LineBreakpoint created at mutations.kt:11
|
||||
LineBreakpoint created at mutations.kt:14
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
mutations.kt:8
|
||||
Compile bytecode for a = 100
|
||||
mutations.kt:11
|
||||
Compile bytecode for b = 200
|
||||
mutations.kt:14
|
||||
Compile bytecode for a + b
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Reference in New Issue
Block a user