Change the way 'step over' over inline calls works (KT-13751)
Previously it worked by invoking 'Run To Cursor' for the last position of inline function. As there's only one 'run to cursor' breakpoint available in Idea framework, it couldn't work when inline function call was was used in conditions of control flow statements. A new approach works through multiple step over operation and controlling stop position. In other words we try to "step over" inlined lines. Same thing is actually done in "Smart Step Into" action. (cherry picked from commit 2e8775d) #KT-13751 Fixed
This commit is contained in:
committed by
Nikolay Krasko
parent
9594316b0a
commit
7992df7b93
+9
@@ -0,0 +1,9 @@
|
||||
LineBreakpoint created at soInlineFunWithLastStatementOneLineArgumentCall.kt:11
|
||||
!JDK_HOME!\bin\java -agentlib:jdwp=transport=dt_socket,address=!HOST_NAME!:!HOST_PORT!,suspend=y,server=n -Dfile.encoding=!FILE_ENCODING! -classpath !OUTPUT_PATH!;!KOTLIN_RUNTIME!;!CUSTOM_LIBRARY!;!RT_JAR! soInlineFunWithLastStatementOneLineArgumentCall.SoInlineFunWithLastStatementOneLineArgumentCallKt
|
||||
Connected to the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
|
||||
soInlineFunWithLastStatementOneLineArgumentCall.kt:11
|
||||
soInlineFunWithLastStatementOneLineArgumentCall.kt:6
|
||||
soInlineFunWithLastStatementOneLineArgumentCall.kt:7
|
||||
Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
|
||||
|
||||
Process finished with exit code 0
|
||||
Reference in New Issue
Block a user