Sergej Jaskiewicz
0e3f48314a
[JS IR] Improve stepping test executor
...
Don't search for box function in the generated code;
instead, stop the execution right before calling it.
This makes stepping tests more accurate.
2022-10-27 09:28:05 +00:00
Sergej Jaskiewicz
a939f9ccd0
[JS IR] Improve debug info precision for blocks
...
Namely:
- Generate debug info for closing braces, which allows the breakpoints
set on closing braces to be hit
- Generate debug info for 'if' and 'try/catch' statements.
KT-46276
2022-10-18 14:31:14 +00:00
Sergej Jaskiewicz
1241565cce
[JS IR] Adapt stepping tests for Kotlin/JS
2022-07-19 16:06:24 +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
Yan Zhulanow
f115bde682
Debugger, BE: Provide Java-like stepping for 'for' loops
...
- Visit '}' instead of 'for' keyword on post-condition
- Visit 'for' keyword on pre-condition
2020-02-14 17:35:17 +09:00