Add line numbers for suspend function to enhance stepping (KT-16025)

Stop at function start on step into.
Step at function end on step out.

Both cases should actually be skipped by debugger, but this is postponed
till new backend generation for suspend functions is ready.

 #KT-16025 Fixed
This commit is contained in:
Nikolay Krasko
2017-03-23 16:31:46 +03:00
parent 8cfcd7e5a6
commit 0d5913287f
6 changed files with 113 additions and 8 deletions
+14
View File
@@ -0,0 +1,14 @@
LineBreakpoint created at siSuspendFun.kt:29
Run Java
Connected to the target VM
siSuspendFun.kt:29
siSuspendFun.kt:21
siSuspendFun.kt:22
siSuspendFun.kt:18
siSuspendFun.kt:18
siSuspendFun.kt:14
siSuspendFun.kt:10
siSuspendFun.kt:6
Disconnected from the target VM
Process finished with exit code 0
+14
View File
@@ -0,0 +1,14 @@
LineBreakpoint created at souSuspendFun.kt:7
Run Java
Connected to the target VM
souSuspendFun.kt:7
souSuspendFun.kt:11
souSuspendFun.kt:15
souSuspendFun.kt:19
souSuspendFun.kt:19
souSuspendFun.kt:23
souSuspendFun.kt:25
souSuspendFun.kt:29
Disconnected from the target VM
Process finished with exit code 0