Alexander Udalov
a9ddf02556
Replace deprecated usages of max/min with maxOrNull/minOrNull
2020-08-25 20:33:59 +02:00
Dmitriy Novozhilov
a764732020
Rename KotlinBuiltInsNames to StandardNames
2020-08-25 10:41:33 +03:00
Dmitriy Novozhilov
3a48265077
Move ModuleDescriptor.Capability to :core:descriptors.common module
2020-08-25 10:31:37 +03:00
Dmitriy Novozhilov
7a7fe77b8e
Move static constants with builtin names to :core:descriptors.common module
2020-08-25 10:31:36 +03:00
Vladimir Ilmov
27a22fc1e9
Cleanup Coroutine panel in case connection gets disposed soon after
...
creation.
2020-08-24 15:09:14 +02:00
Vladimir Ilmov
cb2ab4676b
(CoroutineDebugger) Top node added to prevent dumpCoroutine() call
...
Panel gather information from the agent on each breakpoint hit.
2020-08-24 15:09:13 +02:00
Vladimir Ilmov
34b55dbeb3
(CoroutineDebugger) Disable agent for MPP projects
...
#KT-39412 fixed
2020-08-21 10:35:39 +02:00
Mads Ager
a6f301e84a
[JVM_IR] Rebase constructor stepping tests that are working as intended.
...
JVM_IR has consistent stepping behavior for secondary constructors
and init blocks. This change fixes the expectations for tests that
expect the less consistent JVM backend behavior.
2020-08-20 13:12:22 +02:00
Mads Ager
2c6b5c8847
[JVM_IR] Give temporary variable loads meaningful offsets.
...
Temporary variable loads in when expressions had the offsets
of the variable declaration. That leads to hacks during codegen
for line number generation.
Instead of those hacks, give the variable loads the offsets of
the context in which they occur. That avoids the codegen hacks
and fixes stepping behavior for more when expressions.
2020-08-20 13:12:22 +02:00
Mads Ager
119302b016
[JVM_IR] Run KotlinSteppingTests with the JVM_IR backend.
...
Implement support for supressing failures by backend.
2020-08-20 05:48:54 +02:00
Yunir Salimzyanov
70cda1b113
Refactor and fix files previously affected by 192 patchset (KTI-315)
2020-08-19 19:40:02 +03:00
Yunir Salimzyanov
42da9e62db
Cleanup 192 patchset files (KTI-315)
2020-08-19 19:40:02 +03:00
Pavel Kirpichenkov
f431da2a66
Reapply "Introduce @FrontendInternals annotation""
...
This reverts commit 9ca4717d11 .
^KT-39643 Fixed
2020-08-10 12:22:55 +03:00
Pavel Kirpichenkov
9ca4717d11
Revert "Introduce @FrontendInternals annotation"
...
Revert due to Mobile IDE Trunk IJ TC configuration
This reverts commits:
ffc3d8bdfc
c0e713980b
^KT-39643 In Progress
2020-08-07 12:10:03 +03:00
Pavel Kirpichenkov
ffc3d8bdfc
Introduce @FrontendInternals annotation
...
#KT-39643
2020-08-05 21:44:47 +03:00
Ilmir Usmanov
6c475e614a
Minor. Update debugger tests
2020-08-05 19:47:55 +02:00
Florian Kistner
9925866293
203: Fix compilation
2020-08-05 19:36:43 +02:00
Vladimir Ilmov
7eca13569b
(CoroutineDebugger) Enable agent for versions 1.3.8.*
...
Gradle artifact name gets changed from 'kotlinx-coroutines-core' to
'kotlinx-coroutines-core-jvm'. So it should support both.
2020-07-30 17:54:35 +02:00
Ilmir Usmanov
4fb5f8603a
Keep $continuation in LVT
...
in case of suspend functions and `this` is case of lambdas, since they
are used in async stack trace generation.
Update tests.
#KT-40661 Open
2020-07-29 00:01:12 +02:00
Vladimir Ilmov
d8de37f665
(CoroutineDebugger) using WeakReference as lastObservedFrame
...
relates to #KT-40073
2020-07-20 11:44:51 +02:00
Vladimir Ilmov
bcf1954860
(CoroutineDebugger) added support for DebugCoroutineInfoImpl in kotlinx-coroutines-core:1.3.8
...
relates to #KT-40073
2020-07-20 11:44:51 +02:00
Vladimir Ilmov
217428212f
(CoroutineDebugger) Refactoring of retrieving BaseContinuationImpl chains
2020-07-20 11:43:23 +02:00
Vladimir Ilmov
14766a3e1a
(CoroutineDebugger) lv 'task' added to tests in EventLoopImplBase kotlinx-coroutines-core:1.3.7
2020-07-20 11:38:01 +02:00
Vladimir Ilmov
e49f3b567b
(CoroutineDebugger) minimum supported version kotlinx-coroutines-core.1.3.8
...
Workaround for starting agent on windows removed, version upgraded in tests
#KT-40073 fixed
2020-07-20 11:38:00 +02:00
Vladimir Ilmov
0c832e30bf
(CoroutineDebugger) Memory leak fixed on IDEA quit: 'org.jetbrains.kotlin.idea.debugger.coroutine.view.XCoroutineView
...
#KT-40386 fixed
2020-07-17 18:01:30 +02:00
Vladimir Ilmov
378d0a757a
DebuggerClassNameProvider refactoring
2020-07-16 16:05:01 +02:00
Vladimir Ilmov
3e69250f72
(CoroutineDebugger) Restored frame variables isn't shown for 2020.1.
...
#KT-40172 fixed
2020-07-10 09:57:38 +02:00
Vladimir Ilmov
7f472ba24e
Switch to isApplicableAsync instead of isApplicable in ToStringRenderer
...
#KT-39717 fixed
2020-07-08 16:15:46 +02:00
Alexander Udalov
8c71d8f126
Undeprecate VariableDescriptorWithAccessors.isDelegated
...
Apparently there's quite a few valid usages of this method outside of
the compiler frontend, where manual suppression is annoying.
2020-07-07 18:09:40 +02:00
Vladimir Ilmov
a2040f01bf
Body elements resolution in KotlinDebuggerCache added / analyzeWithContentAndGetResult
...
While we trying to find an inlined SourcePosition, the body should be
resolved KotlinPositionManager.getLambdaOrFunIfInside / InlineUtil.isInlinedArgument
to make shure the lambda is an argument for a call.
#KT-39309 fixed
#KT-39435 fixed
2020-07-06 11:33:50 +02:00
Nikita Bobko
536c4bbab1
202: Fix KotlinEvaluateExpressionTestGenerated.SingleBreakpoint
...
Now `getTreeEvaluation` returns `CompletableFuture<PsiElement>` not `PsiElement` as it was in 201
2020-07-01 11:31:20 +03:00
Nikolay Krasko
21fa2bf98c
Switch to 201 platform
2020-06-30 19:53:18 +03:00
Vladimir Ilmov
230f2f5ce0
(CoroutineDebugger) fix for debugger agent for 1.3.6 version and up
2020-06-19 18:58:46 +02:00
Vladimir Ilmov
b100fd526f
(CoroutineDebugger)(Test) local variable removed from generated code
2020-06-19 00:32:19 +02:00
Ilmir Usmanov
542f1b8709
Minor. Update tests
2020-06-18 17:53:47 +02:00
Yan Zhulanow
8b5f2f9474
Fix duplicate stepping filter adding on plugin start-up (KT-38628)
...
Review KT-CR-1301.
2020-06-18 22:32:34 +09:00
Vladimir Ilmov
62dcfcde79
(CoroutineDebugger) -core jar has precedence over -debug
...
#KT-39412 fixed
#KT-39648 fixed
2020-06-17 23:48:09 +02:00
Vladimir Ilmov
db127bb414
(CoroutineDebugger) fails to start in gradle mode
...
#KT-39634 fixed
2020-06-17 15:35:10 +02:00
Vyacheslav Gerasimov
4aa3040550
Build: Use runtimeOnly instead of deprecated runtime
...
maven-publish plugin uses `runtimeOnly` for runtime scope instead of
`runtime`
2020-06-14 20:31:26 +03:00
Ilya Chernikov
a0efd1e323
Optimize scopes handling inside ChainedMemberScope
2020-06-11 16:16:15 +02:00
Alexander Udalov
6e67e1e78d
Replace appendln with appendLine in project
2020-06-11 13:01:30 +02:00
Vladimir Ilmov
50165397c7
(CoroutineDebugger) flaky test coroutine-debug library changed to 1.3.4
2020-06-08 22:54:09 +02:00
Yunir Salimzyanov
dce19b0ace
Cleanup 191 patchset logic (KTI-267)
2020-06-07 10:49:55 +03:00
Ilmir Usmanov
f1906bc966
Minor. Update test
2020-06-05 21:55:34 +02:00
Nikita Bobko
a94d2211e4
Cleanup getLineCount
2020-06-04 14:56:23 +03:00
Pavel Kirpichenkov
7fff8f82e2
Changes after review
...
- Replace leaking ModuleResolverTracker with use of ModuleDescriptor.Capabilies
- Provide API for retrieving ResolverForProject from ResolutionFacade
- Update names
2020-06-03 20:58:07 +03:00
Pavel Kirpichenkov
db1210fc67
Introduce components for library-to-source resolution in IDE
...
#KT-24309 In progress
2020-06-03 20:58:07 +03:00
Yunir Salimzyanov
3b9000cc0c
Cleanup 191 extension files (KTI-240)
2020-06-01 18:43:10 +03:00
Vladimir Ilmov
73f4b61022
(CoroutineDebugger) Windows test fix for kotlinx-coroutines-core
2020-05-31 20:24:41 +02:00
Yunir Salimzyanov
8d51b027ed
Add annotation to prevent test invocation twice
...
Cause: it helps to fix double inversion of muted non-flaky tests result
(KTI-216).
2020-05-30 22:50:34 +03:00