Yan Zhulanow
bf890a1540
Debugger, tests: Change ADDITIONAL_BREAKPOINT directive format
...
- Make it extendable and easier to parse
- Allow to create additional function breakpoints
2020-05-27 02:38:43 +09:00
Yan Zhulanow
4244f05307
Debugger: Fix step over in functions with default parameters (KT-14828)
...
Adds a synthetic line number just before the original function call.
The new line number is recognized by the debugger which replaces the
'step over' action with 'step into' and stops.
2020-05-27 02:38:43 +09:00
Yan Zhulanow
69965eaa5c
Implement new stepping for suspend functions
2020-05-27 02:38:43 +09:00
Yan Zhulanow
2f34bc88dc
Debugger: Add test for KT-14869
2020-02-14 17:35:19 +09:00
Yan Zhulanow
ea7ffa70b3
Debugger: Add test for KT-34905
2020-02-14 17:35:19 +09:00
Yan Zhulanow
6690f946d6
Debugger: Add test for KT-14296
2020-02-14 17:35:19 +09:00
Yan Zhulanow
6f425ee951
Debugger: Add test for KT-15652
2020-02-14 17:35:18 +09:00
Yan Zhulanow
dd33640238
Debugger: Skip inlined library frames on step over (KT-12016)
2020-02-14 17:35:18 +09: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
Yan Zhulanow
9cba72d5dd
Debugger: Remove flaky sleep-based stepping tests
2020-02-14 17:35:17 +09:00
Yan Zhulanow
8f29f8bc9d
Debugger: Rewrite step over action (KT-14296)
...
The main goal is to make behavior similar to what happens in Java. For instance, now we always skip lambdas.
Also, we can reliably use '$i$f' and '$i$a' synthetic local variables. There is no need in complicated hacks any more.
2020-02-14 17:35:17 +09:00
Yan Zhulanow
dd743f05c1
Debugger: Remove/change tests for the deprecated Android dex
2020-02-14 17:35:16 +09:00
Mikhael Bogdanov
4281fd6bd5
Don't write nop for extension lambda during inline
2019-11-14 08:17:33 +01:00
Yan Zhulanow
8325216d38
Debugger: Fix "Step over" with inline function calls in non-functions (KT-20342)
2019-10-24 21:32:58 +09:00
Yan Zhulanow
472ec72eb9
Refactor debugger tests
...
1. Move tests to their own module
2. Avoid sharing the 'tinyApp' project between tests
3. Clean up option directive handling
2019-10-08 19:13:56 +09:00
Yan Zhulanow
d8d81c51d7
Move debugger test data to the new location
2019-10-08 19:13:55 +09:00