Yan Zhulanow
a19f8ffe6a
Revert "Debugger: Add IR-powered ranking tests"
...
This reverts commit ce21a559
Because of the erroneous behavior in 'BuilderFactoryForDuplicateSignatureDiagnostics.groupMembersDescriptorsBySignature', two functions with arguments of different inline class types are considered to have the same JVM signature.
Before the error wasn't reported, as classes didn't have proper source elements.
This issue has to be fixed before enabling ranking tests.
2019-12-13 12:23:24 +09:00
Dmitriy Novozhilov
e7f8c8e155
[TEST] Regenerate tests after previous commit
2019-12-12 16:11:45 +03:00
Yan Zhulanow
ce21a55943
Debugger: Add IR-powered ranking tests
2019-12-11 20:04:03 +09:00
Vladimir Ilmov
f05a452ef2
[coroutine][debugger] Unit test support added for Gradle run configurations.
2019-12-11 11:46:28 +01:00
Vladimir Ilmov
82cdcb421b
jdi.StringReferenceImpl references replaced with StringReference
2019-12-11 11:44:02 +01:00
Egor Ushakov
e2010cb90d
Do not cast to jdi impl classes
2019-12-11 13:16:27 +03:00
Natalia Selezneva
b66fdad80c
Set since build to IDEA 192.7142.36 for 192 bunch
...
Fix compilation in idea-gradle module
Android Studio 3.6 doesn't still contain some of those changes
2019-12-10 09:16:27 +03:00
Alexander Udalov
fd627603a0
Refactor CompilationErrorHandler
...
It only had one implementation THROW_EXCEPTION, inline it everywhere
with a call to a static method
2019-12-03 10:48:34 +01:00
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