Sergej Jaskiewicz
4ae03ea74a
[JS IR] Improve debug info for if and when statements
...
#KT-46276
2022-11-02 13:14:01 +00:00
Sergej Jaskiewicz
fe0e9db3aa
[JS IR] Generate debug info for JS switch statements
...
#KT-46276
2022-11-02 13:13:59 +00:00
Sergej Jaskiewicz
1241565cce
[JS IR] Adapt stepping tests for Kotlin/JS
2022-07-19 16:06:24 +00:00
Sergej Jaskiewicz
ea556ce428
[JS IR] Implement stepping tests for Kotlin/JS
...
We already have stepping tests for Kotlin/JVM.
They are helpful for testing the correctness of the generated
debugging information.
They are better than line number tests in that they allow to test the
_behavior_, not the generated data. The structure of the data may change
even if the behavior stays the same. For that reason, stepping tests
are more stable.
2022-07-19 16:06:23 +00:00
Mads Ager
e9c9d5731e
[JVM] Port Stepping and LocalVariable tests to new test infra.
...
This is in preparation for enabling the tests for FIR which will
be easier to do when the tests are on the new infrastructure.
2021-10-15 20:03:54 +03:00
Mads Ager
9fa1614903
[JVM] Port line number tests to stepping framework.
...
Allow specifying JVM and JVM_IR as well as shared expectations.
Add the method name to the step.
Discard steps in synthetic methods.
2020-05-27 07:28:47 +02:00
Jinseong Jeon
b71b0fa32c
Update stepping tests to inspect source name, instead of method info.
2020-03-17 13:39:35 +01:00
Jinseong Jeon
5dc1651a44
JVM: missed line number for return expression.
2020-03-17 13:39:35 +01:00
Jiaxiang Chen
0a2812f83b
Add a JVM backend debug information test, this commit is for verifying
...
line numbers for stepping.
Running JVM instance and read stepping events from it to verify with the
test data.
2019-10-05 10:41:11 +02:00