Check that breakpoints work in suspend function without suspension points
This commit is contained in:
Vendored
+18
@@ -0,0 +1,18 @@
|
||||
package stopInSuspendFunctionWithoutSuspendPoints
|
||||
|
||||
import forTests.builder
|
||||
|
||||
fun foo(a: Any) {}
|
||||
|
||||
suspend fun first() {
|
||||
foo("first")
|
||||
|
||||
//Breakpoint!
|
||||
foo("second")
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
builder {
|
||||
first()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user