diff options
Diffstat (limited to 'plugins/kotlin/jvm-debugger/test/testData/evaluation/multipleBreakpoints/inlineStackTraceWithApply.kt')
-rw-r--r-- | plugins/kotlin/jvm-debugger/test/testData/evaluation/multipleBreakpoints/inlineStackTraceWithApply.kt | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/plugins/kotlin/jvm-debugger/test/testData/evaluation/multipleBreakpoints/inlineStackTraceWithApply.kt b/plugins/kotlin/jvm-debugger/test/testData/evaluation/multipleBreakpoints/inlineStackTraceWithApply.kt new file mode 100644 index 000000000000..52a73f404b6f --- /dev/null +++ b/plugins/kotlin/jvm-debugger/test/testData/evaluation/multipleBreakpoints/inlineStackTraceWithApply.kt @@ -0,0 +1,35 @@ +package inlineStackTraceWithAlso + +class Foo + +inline fun Foo.body() { + val x2 = 2 + //Breakpoint! + myAddChild() +} + +inline fun Foo.myAddChild() { + val x3 = 3 + //Breakpoint! + println() +} + +fun main() { + Foo().apply { + val x1 = 1 + //Breakpoint! + body() + } +} + +// PRINT_FRAME +// SHOW_KOTLIN_VARIABLES + +// EXPRESSION: x1 +// RESULT: 1: I + +// EXPRESSION: x2 +// RESULT: 2: I + +// EXPRESSION: x3 +// RESULT: 3: I |