Commit Graph

106 Commits

Author SHA1 Message Date
Yan Zhulanow
3f47e51670 Coroutine debugger: avoid raising an error in coroutine data extraction (EA-252903)
GitOrigin-RevId: 34e3750adb8e9ef2c5ed94e7673509d42ffd3996
2021-02-25 14:12:44 +03:00
Nikolay Chashnikov
8da9a87093 cleanup: get rid of usages of IntelliJ API marked as ScheduledForRemoval - 2
GitOrigin-RevId: eedb7b67cf3d10a437d3df0995aa7fed73d808af
2021-02-16 13:57:56 +03:00
Nikolay Chashnikov
9dc2681967 cleanup: get rid of usages of IntelliJ API marked as ScheduledForRemoval
GitOrigin-RevId: 9e5c6e7899fb5c4939563645f4cb9d1f5f559981
2021-02-15 23:45:55 +03:00
Vladimir Dolzhenko
c06db66dda Add dropped transient dependency intellij.platform.ide.util.io
GitOrigin-RevId: 2f6f878da56aeb4072889a68d73e834112c42573
2021-02-08 01:11:08 +03:00
Nikita Nazarov
a25b4f5780 Separate kotlinx-coroutines-jar search process to CoroutineAgentConnector
(cherry picked from commit f46b283de4b5d077e8047ac07763162554eb3ccc)

KT-MR-2042

GitOrigin-RevId: 46bc8b379faeb0a29d6ddd0aa901461b0e341d14
2021-01-25 15:34:57 +03:00
Nikita Nazarov
0ded77aa06 Fix coroutines core jar search process
^KTIJ-810 Fixed

(cherry picked from commit 49cf5d7677f7ae2c5a9a63bff6782956c615008d)

KT-MR-2042

GitOrigin-RevId: 1aefc14c03407f59bb1ebacf91da8061526ab748
2021-01-25 15:34:57 +03:00
Vladimir Dolzhenko
1e9613bd7f Fix compilation
GitOrigin-RevId: 6a6f66cb1685e46dee9a1a00442c7d72381c729f
2020-12-29 00:25:19 +03:00
Nikita Bobko
93efecf4e6 Fix compilation
GitOrigin-RevId: 098826903669396f2741b1e6477274c750ae98d1
2020-12-23 22:11:54 +03:00
Nikita Bobko
6e29578615 Replace dependency on 'kotlinc.kotlin-stdlib-jdk8' with dependency on 'kotlinc-delegator.kotlin-stdlib-jdk8' module delegator
This commit is part of series of project model refactoring commits, look at neighborhood commits.
Check out last commits in this sequence.

These commit are done for sake of unification and making it easier to write cooperative compilation
prototype.

GitOrigin-RevId: 4ec18be4192e6ea9fe93f14e3e9fac83cec68c91
2020-11-16 14:55:23 +03:00
Nikita Bobko
ab0fa50fcd Replace 'kotlinc.kotlin-compiler' project library with 'kotlinc-delegator.kotlin-compiler' module delegator
This commit is part of series of project model refactoring commits, look at neighborhood commits.
Check out last commits in this sequence.

These commit are done for sake of unification and making it easier to write cooperative compilation
prototype.

GitOrigin-RevId: 341fbb8bc02ad28a7e2113b859fba87756af5c37
2020-11-16 14:55:20 +03:00
Nikita Bobko
d2fc6565db Fix compilation
GitOrigin-RevId: 43d25930d0764ce8be51bd247a23d44f4ba62086
2020-11-12 21:19:31 +03:00
Egor Ushakov
7051e6067a fixed compatibility
GitOrigin-RevId: 8524fd623d4f6a9bb113c6f357080e8fa16c1816
2020-11-12 21:07:07 +03:00
Nikita Bobko
7e72ef0c9b Fix compilation
Compilation was broken by intellij in 00ea60639cd9fa09088e283154a853a0b7adaa46

GitOrigin-RevId: 55f9219f89b13aa00a1640df14a40089d3f1acec
2020-11-12 20:19:40 +03:00
Nikita Nazarov
e439668263 Fix evaluate expression bug in suspend functions
^KTIJ-396 Fixed

(cherry picked from commit 0906ee41733b2459687d797cd7882cafc95bf5ac)

KT-MR-1766

GitOrigin-RevId: 8ded831067d12036d67f43ae25930d2cc90e8b6c
2020-10-26 13:41:04 +03:00
Nikita Nazarov
13b8f29713 KT-MR-1737: Fix warnings, visibility and mutability modifiers
^KTIJ-235

(cherry picked from commit 0f90b17009b988efa5a0f2c2e46152e5a0b986c0)

GitOrigin-RevId: 702b397157008d053d9de693c9b17b77ac29e4a4
2020-10-14 18:35:48 +03:00
Nikita Nazarov
c1b2b21e09 KT-MR-1737: Fix appearance of coroutine debugger view for non-kotlin projects
^KTIJ-235

(cherry picked from commit 50163c9f6e8818024baa53264e3617fec2123f69)

GitOrigin-RevId: f97fba07a37e61e41ca18825f659e02fe3a041b5
2020-10-14 18:35:47 +03:00
Alexander Podkhalyuzin
37c34e8336 Added missing dependency to core.ui module to fix compilation
GitOrigin-RevId: 56335ecb52d63de168dfa381e773aef017b25be1
2020-09-21 20:20:43 +03:00
Vladimir Ilmov
dbcb7cfd36 (CoroutineDebugger) Disposing under IW lock.
#KT-41505 fixed

Original commit: 45c67a90c28bed1aae10db41f5c09e402f6d2b5f

GitOrigin-RevId: 27bb78d786d32f524a61c6cf5cc75139d7540498
2020-09-12 02:11:15 +03:00
Vladimir Ilmov
38402f4d2e (CoroutineDebugger) BaseDynamicMirror removed
GitOrigin-RevId: 63c0a02832788d042345fdb93e4d626fdf68addb
2020-09-02 15:02:20 +03:00
Vladimir Ilmov
c08dbeb46b (CoroutineDebugger) variable name changes
GitOrigin-RevId: f4e686481073f1ae482a7f5bb406b85b35c43b79
2020-09-02 15:02:20 +03:00
Vladimir Ilmov
180f576318 Pass stdlib to CLW (commented out until the IDEA-CR-65948 gets approved)
GitOrigin-RevId: e4584f09168245e2433e15e947bca7c0e143e4e7
2020-09-02 15:02:20 +03:00
Vladimir Ilmov
c95960c6a2 (CoroutineDebugger) nullable ReferenceType in invokeSuspend method
GitOrigin-RevId: 7eee42ffc8b807a19a3b0586d016d41235930a15
2020-09-02 15:02:20 +03:00
Vladimir Ilmov
40e00d42a9 (CoroutineDebugger) migration to *Delegate classes
GitOrigin-RevId: 54c261fbd7f2a2c41e9b2b8e834f1ad1fda42943
2020-09-02 15:02:20 +03:00
Vladimir Ilmov
80dee33820 (CoroutineDebugger) re-group kotlin/kotlinx classes
GitOrigin-RevId: 26dee8db8411c6048975c469d34af8a7bb6e696b
2020-09-02 15:02:20 +03:00
Vladimir Ilmov
6f86c88e4b (CoroutineDebugger) input type added to mirror providers for clarity
GitOrigin-RevId: 3a1faeded908354027618565a3978b20e1e8f57c
2020-09-02 15:02:20 +03:00
Vladimir Ilmov
6686f3f069 (CoroutineDebugger) refactoring - mirror data classes extracted
GitOrigin-RevId: aeb59456291b7b7c052eb55951185cb3869086c8
2020-09-02 15:02:20 +03:00
Vladimir Ilmov
6aa25a7bf7 (CoroutineDebugger) refactoring - rename source files
GitOrigin-RevId: b295c06f8c63fd4d2d4fab2cd67a6b3b7a074d59
2020-09-02 15:02:20 +03:00
Vladimir Ilmov
ebca3748f0 (CoroutineDebugger) Pass stdlib to add to classpath for CommandLineWrapper
GitOrigin-RevId: c6d23e08d83be097bb7452fe72750dcabfa5c063
2020-09-02 15:02:20 +03:00
Vladimir Ilmov
6a888b95c7 Cleanup Coroutine panel in case connection gets disposed soon after
creation.

Original commit: 27a22fc1e996cab3279bfc12a85c62c10bfe9e10

GitOrigin-RevId: 3251efc246577714ca241a22e1f0ebb3a83d2ca4
2020-09-01 01:00:56 +03:00
Vladimir Ilmov
300a0615ee (CoroutineDebugger) Top node added to prevent dumpCoroutine() call
Panel gather information from the agent on each breakpoint hit.

Original commit: cb2ab4676bd2989b5f9761063d971bd2fdd61a9f

GitOrigin-RevId: f53eb7c9050ae9c75ee66c24004d1e3eba35cfd0
2020-09-01 01:00:55 +03:00
Vladimir Ilmov
640dba948c (CoroutineDebugger) Disable agent for MPP projects
#KT-39412 fixed

Original commit: 34b55dbeb3a65b39b3585a646b5a0d2b1ce4dd96

GitOrigin-RevId: 3100925b77b9702a9c55acb2bcdf895e56568599
2020-08-25 18:45:52 +03:00
Yan Zhulanow
3a0beb7a21 Revert "fix compilation: explicitly set Java 8 language level"
This reverts commit fcbc8b79

GitOrigin-RevId: f1f7a858b0e12dc16bf84b2a003279c847c3cc1a
2020-08-12 13:02:43 +03:00
Dmitry Gridin
b6eeb7cd28 fix compilation: explicitly set Java 8 language level
GitOrigin-RevId: 2807fc4a4fa13899d7b89de5e0422234b2f9c39b
2020-08-12 09:05:02 +03:00
Vladimir Ilmov
f966e6e8d2 (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.

Original commit: 7eca13569b2b277116729987d4e104e91c95f01a

GitOrigin-RevId: d2d9943fb7940bb710f06946051817b12aa5ffd1
2020-08-06 22:30:20 +03:00
Vladimir Ilmov
a9ab7c449c (CoroutineDebugger) using WeakReference as lastObservedFrame
relates to #KT-40073

Original commit: d8de37f665dda6170a3f19aaa69ab11c7037725e

GitOrigin-RevId: 4fa5c1f2dced6ed84a0f9ce656d4c8b2ea8ab09c
2020-08-06 22:29:55 +03:00
Vladimir Ilmov
e06b927115 (CoroutineDebugger) added support for DebugCoroutineInfoImpl in kotlinx-coroutines-core:1.3.8
relates to #KT-40073

Original commit: bcf1954860c318e1c14e568285d54d1e6a99c8fc

GitOrigin-RevId: ce1a866c4ff2c43ed800e84943c9909067647188
2020-08-06 22:29:55 +03:00
Vladimir Ilmov
915d83c68a (CoroutineDebugger) Refactoring of retrieving BaseContinuationImpl chains
Original commit: 217428212fc64fdc966c59eb856a8f04f437cf1b

GitOrigin-RevId: 45523cf3cd4fc421ad4561743c92da32b7b8bd79
2020-08-06 22:29:54 +03:00
Vladimir Ilmov
26356a86cd (CoroutineDebugger) minimum supported version kotlinx-coroutines-core.1.3.8
Workaround for starting agent on windows removed, version upgraded in tests
 #KT-40073 fixed

Original commit: e49f3b567b14c2a02cd6ad50a9c00fb1eb2ad95a

GitOrigin-RevId: f6509784a491e6fc5d77d88196d4d385aecf4e96
2020-08-06 22:29:53 +03:00
Vladimir Ilmov
ee52716db1 (CoroutineDebugger) Memory leak fixed on IDEA quit: 'org.jetbrains.kotlin.idea.debugger.coroutine.view.XCoroutineView
#KT-40386 fixed

Original commit: 0c832e30bfc6bbaaeb5e7b09039b0c249e196021

GitOrigin-RevId: 6051fa8a7df73767c2622e19d072e78a692730ec
2020-08-06 22:29:52 +03:00
Vladimir Ilmov
d5955c7204 (CoroutineDebugger) Restored frame variables isn't shown for 2020.1.
#KT-40172 fixed

Original commit: 3e69250f7277b8657e576bbc5a3a53fba0b00318

GitOrigin-RevId: 1067cac2ea7c15177d70669db3b94aae6b1e1560
2020-08-06 22:29:42 +03:00
Dmitry Gridin
d8b55681e0 [i18n] add missing @Nls to bundles
GitOrigin-RevId: 24ff3c9b9cec348eda1d138915272660a61beb44
2020-08-05 15:18:02 +03:00
Yan Zhulanow
247c47c3f2 Clean up kotlin.jvm-debugger.coroutines
GitOrigin-RevId: 44af907b3a9605f422df06e90fae8ddaba3b015e
2020-07-22 11:44:28 +03:00
Nikita Bobko
8171e15eec Remove kotlin-analysis as dependency
It's invalid

GitOrigin-RevId: d12b07f4aacee3920d0378454394f66a56c8a586
2020-07-09 16:35:40 +03:00
Vladimir Ilmov
d71228a379 (CoroutineDebugger) fix for debugger agent for 1.3.6 version and up
Original commit: 230f2f5ce038a513083a67f95ad401985c3ba447

GitOrigin-RevId: c1d75f510bcf17be0208e1ff697fb92f28e9d9d5
2020-07-08 21:00:48 +03:00
Yan Zhulanow
768613be83 Fix compile classpath in new/existing modules after commit picking
GitOrigin-RevId: 64ac94ddf0ea8068b5f5f71609e0fe55f05ea6e9
2020-07-08 21:00:44 +03:00
Vladimir Ilmov
d4720f8f53 (CoroutineDebugger) -core jar has precedence over -debug
#KT-39412 fixed
 #KT-39648 fixed

Original commit: 62dcfcde790e330869ff1fe2ad5dda5e2e9daeb7

GitOrigin-RevId: 5951b5240115f71dfa921d4e22bb6efae27db4eb
2020-07-08 21:00:42 +03:00
Vladimir Ilmov
d8d49bcc4b (CoroutineDebugger) fails to start in gradle mode
#KT-39634 fixed

Original commit: db127bb414b987ba2503c6d63e2c7484e85b8d97

GitOrigin-RevId: 33351a833f45aa545a8e6d7f871572d1ece06a98
2020-07-08 21:00:42 +03:00
Alexander Podkhalyuzin
cce7abbcce Removed two unnecessary cycles in modules. One more complicated left in tests
GitOrigin-RevId: 08dc999a419108c9bb3aa2e0696985b4f6c55899
2020-06-29 18:17:15 +03:00
Yan Zhulanow
f4cf9520c3 Replace stdlib/reflect library usages in Kotlin modules to Kotlin-specific ones
GitOrigin-RevId: 12edd441517af8c0665ff682c9a61f77742d34f4
2020-06-24 23:17:38 +03:00
Yan Zhulanow
c497702094 Sort dependencies in Kotlin modules
GitOrigin-RevId: 203340194339141fd293e6eadb8a53d736efa785
2020-06-03 18:56:01 +03:00