Fix Evaluate Expression for inline functions from multifile package class.
Find main class generated for debugger by its name instead of relativePath length. #KT-22311 Fixed
This commit is contained in:
Vendored
+1
-1
@@ -16,4 +16,4 @@ interface T {
|
||||
// RESULT: 1: I
|
||||
|
||||
// EXPRESSION: object: T {}
|
||||
// RESULT: instance of ceObject.DebugFileKt$generated_for_debugger_kotlin_rulezzzz$1(id=ID): LceObject/DebugFileKt$generated_for_debugger_kotlin_rulezzzz$1;
|
||||
// RESULT: instance of ceObject.Generated_for_debugger_class$generated_for_debugger_fun$1(id=ID): LceObject/Generated_for_debugger_class$generated_for_debugger_fun$1;
|
||||
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
package inlineFunInMultiFilePackage
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
//Breakpoint!
|
||||
val a = 1
|
||||
}
|
||||
|
||||
// EXPRESSION: multiFilePackage.foo { 1 }
|
||||
// RESULT: 1: I
|
||||
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
LineBreakpoint created at inlineFunInMultiFilePackage.kt:5
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
inlineFunInMultiFilePackage.kt:5
|
||||
Compile bytecode for multiFilePackage.foo { 1 }
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Reference in New Issue
Block a user