Yan Zhulanow
076166c22f
Debugger: Generate line numbers for class initializers with a number on the 'init' keyword (KT-16277)
...
Debugger tests not absent as they use the bootstrap version of kotlinc.
Obviously, this change is not present in it yet.
2019-11-25 17:26:31 +09:00
Yan Zhulanow
cf620cc60d
Debugger: Synchronize "Add field breakpoint" dialog with the platform code
2019-11-25 17:26:30 +09:00
Yan Zhulanow
75b366fc5e
EA-211653: Wrap field breakpoint dialog into a transaction guard
2019-11-25 17:26:30 +09:00
Yan Zhulanow
ffeef6c18d
EA-210460: Use 'safeAllLineLocations()' instead of throwing 'allLineLocations()'
2019-11-25 17:26:30 +09:00
Yan Zhulanow
aaa45425da
EA-210002: handle interruption in case of background inline callable searcher task
2019-11-25 17:26:30 +09:00
Yan Zhulanow
36073ef61e
EA-209923: Add missing read action
2019-11-25 17:26:30 +09:00
Yan Zhulanow
69d5115b89
EA-214241: Remove worthless error reporting
2019-11-25 17:26:29 +09:00
Yan Zhulanow
16c4b0e458
EA-210823: Fix AIE in breakpoint applicability test
2019-11-25 17:26:29 +09:00
Yan Zhulanow
e12f17d5dc
EA-217069: Add missing read action
2019-11-25 17:26:28 +09:00
Yan Zhulanow
54203100bc
EA-217072: Add missing read action
2019-11-25 17:26:28 +09:00
Yan Zhulanow
ab0f841642
Debugger: Provide fixed implementation of 'toString()' for lambdas (KT-32691)
2019-11-25 17:26:27 +09:00
Yan Zhulanow
82a1750d26
Debugger: Forbid 'Nothing' constructor calls in evaluated code (KT-33093)
2019-11-25 17:26:27 +09:00
Vladimir Ilmov
7bdda22cfa
[coroutine][debugger] broken testCompileOnly fix missing dependency aether-dependency-resolver in 192,193 versions
2019-11-22 07:27:18 +01:00
Vladimir Ilmov
25acb1e191
[coroutine][debugger] removed and regenerated tests for not-ready-to-be-tested logic, kt* tests are failing due to KT-32691
2019-11-20 13:17:56 +03:00
Vladimir Ilmov
022a31398a
[coroutine][debug] creation stack trace jump to line fixed
2019-11-19 12:29:54 +03:00
Vladimir Ilmov
25222b55e6
[coroutine][debug] AsyncStackTraceProvider refactored
2019-11-19 12:29:54 +03:00
Vladimir Ilmov
310b3611ef
coroutine extention refactored to minimize brunch-related logic
2019-11-19 12:29:54 +03:00
Vladimir Ilmov
c90cd8c490
[coroutine][debug] compilation error fixed
2019-11-19 12:29:53 +03:00
Aleksandr Prokopyev
3ca5d2d64f
Debugger: Add 193 bunch for coroutines debugger
2019-11-19 12:29:53 +03:00
Aleksandr Prokopyev
1dc44b4000
Debugger: Tests refactor
2019-11-19 12:29:53 +03:00
Aleksandr Prokopyev
12313fa5aa
Debugger: Fix for coroutine debugger after review
2019-11-19 12:29:52 +03:00
Aleksandr Prokopyev
5975251a32
Debugger: Coroutines stack frames with variables & coroutine dumps
2019-11-19 12:29:06 +03:00
Mikhael Bogdanov
4281fd6bd5
Don't write nop for extension lambda during inline
2019-11-14 08:17:33 +01:00
Yan Zhulanow
2cb055a3bd
Debugger: Log evaluation status from Java contexts
...
IntelliJ doesn't call KotlinDebuggerEvaluator from Java contexts; instead, it calls JavaDebuggerEvaluator.
Unfortunately, there seems to be no way to figure out the exact evaluation type for Java contexts. However, we can at least log the evaluation status itself.
2019-10-24 21:33:01 +09:00
Yan Zhulanow
1309c0c67a
An attempt to fix flaky debugger tests
2019-10-24 21:33:01 +09:00
Yan Zhulanow
bf027fb824
Do not show Smart Step Into targets for @InlineOnly callables (KT-33728)
2019-10-24 21:33:00 +09:00
Yan Zhulanow
ff7f1c62a9
Minor: Refactor KotlinMethodStepTarget a bit
2019-10-24 21:33:00 +09:00
Yan Zhulanow
87e0a2d98c
Debugger: Fix evaluation of function declarations with expression bodies (KT-32704)
...
Before this commit, the substituted FunctionDescriptor didn't have a source element.
As a result, 'CodeFragmentParameterAnalyzer.isCodeFragmentDeclaration' failed to recognize such a descriptor as fragment-local, and it was erroneously captured.
2019-10-24 21:33:00 +09:00
Yan Zhulanow
716c9f79f7
Debugger: Do not use expression code fragments for evaluator (KT-32736, KT-32741)
...
It seems like it doesn't make much sense to create expression code fragments.
People type statements or several expressions separated with a semicolon to a single-line expression line.
That is exactly what block code fragment was designed for.
2019-10-24 21:33:00 +09:00
Yan Zhulanow
39662c09e9
Debugger: Fix breakpoints and stepping on a first line (KT-33304)
...
This commit fixes the 'SmartStepIntoTestGenerated#testFunWithExpressionBody' test.
2019-10-24 21:32:59 +09:00
Yan Zhulanow
c3e46ebe5c
Debugger: Search candidates for smart step into in a read action
2019-10-24 21:32:59 +09:00
Yan Zhulanow
9cc7ff0efc
Debugger: Fix "smart step into" for library declarations (KT-33303)
2019-10-24 21:32:59 +09:00
Yan Zhulanow
c6a5733b3d
Debugger: Move 'smart step into' classes to the 'smartStepInto' package
2019-10-24 21:32:59 +09:00
Yan Zhulanow
d2b058c1e5
Debugger: Extract Smart step visitor
2019-10-24 21:32:58 +09: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
7bd628f989
Debugger: Check max document index before figuring out line offsets
2019-10-24 21:32:58 +09:00
Yan Zhulanow
d7eb0f4bb0
Debugger: Cleanup stepping code
2019-10-24 21:32:58 +09:00
Yan Zhulanow
f93549748a
Fix a number of compiler/IDE warnings in IDE and kapt modules
2019-10-24 21:32:57 +09:00
Yan Zhulanow
9fb622e148
Debugger: Do not disable breakpoints on evaluation (KT-12242)
2019-10-24 21:32:57 +09:00
Nikolay Krasko
4ed64b0283
Regenerate tests with TargetBackend.ANY remove and using runTest with this
2019-10-23 12:49:48 +03:00
Nikolay Krasko
3891f9fcaa
Refactoring: extract tests files utilities to separate class
2019-10-23 12:49:47 +03:00
Nikolay Krasko
9665870118
Fix AbstractSmartStepIntoTest tests in 193
2019-10-21 15:52:33 +03:00
Yan Zhulanow
9c88a1f807
Debugger: Fix language detection in FUS
2019-10-15 22:06:45 +09:00
Egor Ushakov
ea7f6dbd33
EA-208866 - IAE: SafeUtilKt.safeSourceName - fixed in platform
2019-10-14 12:55:18 +03:00
Nikolay Krasko
93c91862f1
Fix debugger tests compilation in 193 after the big refactoring
2019-10-11 14:06:47 +03:00
Vladimir Dolzhenko
55548d9199
Use test path relative to testDataPath in fixture.configureByFile to be complaint with 193, part 3
2019-10-09 07:34:25 +02:00
Yan Zhulanow
66758472c7
Fix EA-209316: Allow null JDI values in captured value data
2019-10-08 19:13:56 +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
Vyacheslav Gerasimov
c1e1dbd83e
Build: Fix usages of "java.home" for tools.jar dependency
...
#KT-33984
2019-09-25 17:54:18 +03:00