Debugger: Fix step over in functions with default parameters (KT-14828)
Adds a synthetic line number just before the original function call. The new line number is recognized by the debugger which replaces the 'step over' action with 'step into' and stops.
This commit is contained in:
Vendored
+1
-1
@@ -39,4 +39,4 @@ suspend fun run() {
|
||||
}
|
||||
}
|
||||
|
||||
// STEP_OVER: 4
|
||||
// STEP_OVER: 3
|
||||
Vendored
-1
@@ -3,7 +3,6 @@ Run Java
|
||||
Connected to the target VM
|
||||
soSuspendableCallInEndOfFun.kt:29
|
||||
soSuspendableCallInEndOfFun.kt:17
|
||||
soSuspendableCallInEndOfFun.kt:16
|
||||
soSuspendableCallInEndOfFun.kt:18
|
||||
soSuspendableCallInEndOfFun.kt:37
|
||||
Disconnected from the target VM
|
||||
|
||||
Reference in New Issue
Block a user