We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a13e878 commit 2817e1aCopy full SHA for 2817e1a
idea/src/org/jetbrains/kotlin/idea/debugger/stepping/KotlinSteppingCommandProvider.kt
@@ -365,7 +365,7 @@ fun getStepOverAction(
365
// Pretend we had already did a backing step
366
methodLocations
367
.filter(::isLocationSuitable)
368
- .first { it.ktLineNumber() == location.ktLineNumber() }
+ .firstOrNull { it.ktLineNumber() == location.ktLineNumber() } ?: location
369
}
370
else {
371
location
0 commit comments