-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[kotlin debugger] IDEA-361168 Fix smart step into constructor with va…
…lue class params GitOrigin-RevId: 5196ca3224053a436403bee997801d51600b6662
- Loading branch information
1 parent
8b3f52a
commit f95f3dd
Showing
11 changed files
with
70 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...jvm-debugger/test/testData/stepping/custom/smartStepIntoConstructorWithValueClassParam.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package smartStepIntoConstructorWithValueClassParam | ||
|
||
class Clazz(var name: String, var age: UInt) { | ||
fun foo() = name | ||
} | ||
|
||
fun testValueClass() { | ||
// SMART_STEP_INTO_BY_INDEX: 2 | ||
// RESUME: 1 | ||
//Breakpoint! | ||
Clazz("hello", 42u).foo() | ||
} | ||
|
||
fun main() { | ||
testValueClass() | ||
} |
8 changes: 8 additions & 0 deletions
8
...vm-debugger/test/testData/stepping/custom/smartStepIntoConstructorWithValueClassParam.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
LineBreakpoint created at smartStepIntoConstructorWithValueClassParam.kt:11 | ||
Run Java | ||
Connected to the target VM | ||
smartStepIntoConstructorWithValueClassParam.kt:11 | ||
smartStepIntoConstructorWithValueClassParam.kt:4 | ||
Disconnected from the target VM | ||
|
||
Process finished with exit code 0 |