Commit Graph

243 Commits

Author SHA1 Message Date
Vladimir Ilmov
45888445b9 (CoroutineDebugger) negative frames removed from coroutine stack
Original commit: 0ce8ca7bcd580ed9df85e846b6d8205632240fb3

GitOrigin-RevId: 233183f686c98c46c3c2b5018dc0bafca4fe1c0c
2020-05-12 14:21:50 +03:00
Vladimir Ilmov
874c72fba0 (CoroutineDebugger) kotlinx.coroutines.core:1.3.5 support / dynamicProxy(interface) classes
Original commit: be2185ec01c9fd6c250bd5a2452aae9873b5eeca

GitOrigin-RevId: 502e69fbe01dd8db411c3a772a1b479fc1d9b49a
2020-05-12 14:21:50 +03:00
Vladimir Ilmov
8d7be35656 (CoroutineDebugger) kotlinx.coroutines compatibility version fix
Original commit: c018cf0ce531c2edf4ea3e150a7d20e9e7c79102

GitOrigin-RevId: e4f69509776c8bd425c794fd35b1664dc90ed2cd
2020-05-12 14:21:50 +03:00
Vladimir Ilmov
2f579a76e5 (CoroutineDebugger) Added setting to disable coroutine agent
Original commit: c96d30a8cea93dc5017bdbd04aa983eea1030839

GitOrigin-RevId: 7159ba3ca8082a92a7aab41be440350d219d4bb8
2020-05-12 14:21:50 +03:00
Vladimir Ilmov
f22fda7971 (CoroutineDebugger) kotlinx-coroutines-core:1.3.5 support
Original commit: 68c6e9e2d6f43b9fcf9b629f0391718a3864bad6

GitOrigin-RevId: 9fd9ecda106245a53e4273b3205ad50bd605185f
2020-05-12 14:21:50 +03:00
Vladimir Ilmov
78bd98360f (CoroutineDebugger) PreflightFrame support in tests via CoroutineAsync
Original commit: 6f42ed7248a70dad12f281c2f9178288c2ad3430

GitOrigin-RevId: 8c26a8ed363d573d7e556a6541407ed79a420c8b
2020-05-12 10:28:58 +03:00
Vladimir Ilmov
03c80d1993 (CoroutineDebugger) Fixed CombinedContext information, default group renamed to empty dispatcher
Original commit: 276cf36d6b1af4c79dd8936ad855f5094afbabab

GitOrigin-RevId: ed43f5c33db6e218545f42838ff3add28fa1a02d
2020-05-12 10:28:57 +03:00
Vladimir Ilmov
eedb890783 (CoroutineDebugger) unused classes removed / code cleanup
Original commit: 677ca2b9ae917f2dbdce77d66d51f5e5e61876ac

GitOrigin-RevId: 70e0cc9158c27024df7f87bdb9a40f7bd7cf4cf6
2020-05-12 10:28:55 +03:00
Vladimir Ilmov
3a1adebc0f (CoroutineDebugger) Stack printing logic extracted to the single place
for DebugMetadata and CoroutinePanel, some corner cases fixed, test
cases added.
Added:
 - external maven dependencies in test scenarios
 - comparing stack traces + variables on breakpoint

Original commit: 3cd0eb0fca3b851de6903a3f8648fcf2cbf37f3a

GitOrigin-RevId: 6564af9d99b7587c3698e1099e1d24676f78066d
2020-05-12 10:28:53 +03:00
Vladimir Ilmov
62410b95d7 (CoroutineDebugger) Added check if agent is not available in target jvm
Original commit: 153056b4fda19d9cd95b26d2dab201ce169179d0

GitOrigin-RevId: 1150368053a44affd6c91d1e031fcdf6314c1844
2020-05-12 10:28:00 +03:00
Vladimir Ilmov
a5cc92fa74 (CoroutineDebugger) Group coroutines by dispatcher
Kotlin Script support added.

 #KT-37917 fixed

Original commit: 38ec388429b7f8d9360d4d5f4ac3081e8b2fb55d

GitOrigin-RevId: f7fe804c2f33d5ec1d2d02f9a6207640944ca25a
2020-05-12 10:27:55 +03:00
Vladimir Ilmov
adcd03bd75 NPE fix in StackFrameInterceptor
GitOrigin-RevId: 4440e31a388ce3c68d8ef3dc03e2ed5dcc68a243
2021-02-07 21:44:11 +03:00
Yan Zhulanow
7ee9feb28a Migrate project to JPS
GitOrigin-RevId: d427a3c45fc6cc9033e28b220a98bb1b60ccf8c8
2021-02-07 21:43:29 +03:00
Yan Zhulanow
3ed00f5b2d Remove all Kotlin plugin build.gradle.kts
GitOrigin-RevId: 1e77b306f4d715267ea3e2c66707e1ece724e9a6
2021-02-07 19:24:24 +03:00
Yan Zhulanow
1e9c97998e Remove 191 bunch
GitOrigin-RevId: 78ac00e2c85dca5cfe026249183e51ebbef45bec
2021-02-07 19:16:50 +03:00
Dmitry Gridin
b1c91d786b i18n: update bundle in `idea-debugger
#KT-37483

GitOrigin-RevId: e4d6f75fa730952339feb247f2cb07e419bc15b5
2020-03-30 10:58:34 +03:00
Vladimir Ilmov
e83f4de37f (CoroutineDebugger) Alternative CoroutineInfoProvider added
Added way to retrieve coroutine information without an agent
in target JVM. 'kotlin.debugger.coroutines.switch' provides
two possibilities to test coroutines.
Agent way gets activated once kotlinx.coroutines.debug.DebugProbes
started with javaagent.
Library-less ways use DispatchedContinuation or ChildContinuationImpl
classes to retrieve coroutine information and stack traces.

GitOrigin-RevId: 8d46e9ee0e5e9abc20fa897ac8060eebc4cad671
2020-03-23 14:27:07 +03:00
Dmitry Gridin
bfd3e7213e i18n: replace KotlinBundleBase with AbstractKotlinBundle
GitOrigin-RevId: bb228a5be670389ac10678930990fbeb7978039e
2020-03-16 14:40:49 +03:00
Roman Golyshev
f51445642e i18n: move all kotlin bundles to resources/messages directories
GitOrigin-RevId: d1939002c149f97470b638a030bc4162131467f6
2020-03-16 14:40:47 +03:00
Yan Zhulanow
00997d1303 i18n: Add bundle for JVM debugger (coroutine)
GitOrigin-RevId: ba913dcdf335ac40a0d3d12f828aed417363ddd2
2020-03-16 14:40:42 +03:00
Vladimir Ilmov
59f48d6e33 (CoroutineDebugger) StackFrameInterceptor service added to KotlinPositionManager, dependency cleanup
GitOrigin-RevId: 4295210e08d797d3cc59997e70fd70ab98b6547c
2020-03-15 16:37:15 +03:00
Vyacheslav Gerasimov
b7308f4e03 Build: Compile against tollsJarApi in idea-jvm & jvm-debugger-coroutine
GitOrigin-RevId: 859fbbe028643b9a0538bc90fab96b9f5a9bdc72
2020-03-10 17:24:21 +03:00
Vyacheslav Gerasimov
c34071001c Build: Make all compile dependencies on toolsJar compileOnly
tools.jar differs between different versions of JDK reducing cache reuse
so better to not leak it to other modules

GitOrigin-RevId: c83568256edcc965d72dacf555337b8107b5f231
2020-02-29 16:35:54 +03:00
Vladimir Ilmov
3149b8ba09 [COROUTINE] Information message added if breakpoint policy doesn't suspended all
threads.

GitOrigin-RevId: c1c7114435b51ecaabc3a53cae4df37c4896c2d2
2020-02-20 13:51:42 +03:00
Yan Zhulanow
e1c6efc8b2 Minor: extract wrapEvaluateException()
GitOrigin-RevId: 0b4c880cb39ce9c90a5e5c7cb504f82522164828
2020-02-14 11:35:18 +03:00
Yan Zhulanow
959ae91f56 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.

GitOrigin-RevId: 22a47a1374e73a06d94d132d0c64e5e41c92dbd1
2020-02-14 11:35:17 +03:00
Vladimir Ilmov
2535b0cb33 [COROUTINE] NPE exception fix if no DebugMetadata in target jvm exists
GitOrigin-RevId: 956f076a025e50b560ce12c2bcdc55fca1b1c947
2020-02-03 11:16:50 +03:00
Vladimir Ilmov
2d9332f1c6 [COROUTINE] Extra logging removed, bug in method signature fix
Relates to #KT-34906

GitOrigin-RevId: 0a3240ea5cbbda3e51bd95e8f819f032cd80bb15
2020-02-03 11:16:50 +03:00
Vladimir Ilmov
b1fcc1ee08 [coroutine] running coroutine stack frame merged with coroutine info
GitOrigin-RevId: 64655432ca854ce5c20afd30067aa39633f0f9f7
2020-01-28 10:40:14 +03:00
Vladimir Ilmov
490753da35 Revert "[coroutine] For RUNNING coroutines -1 is the correct number"
This reverts commit 818aba2e794735143abb7adee8b92b2f93ffcdea.

GitOrigin-RevId: acf661afafec3fabdf37d1349e7cba06429b376b
2020-01-22 18:39:55 +03:00
Vladimir Ilmov
01e5cf7a18 AsyncStackTraceContext extra logging removed
GitOrigin-RevId: bfc4213b9f960e2e09d6d11c18f49da1ea2bb95d
2020-01-22 18:35:57 +03:00
Vladimir Ilmov
1c513016f7 [coroutine] For RUNNING coroutines -1 is the correct number
GitOrigin-RevId: 818aba2e794735143abb7adee8b92b2f93ffcdea
2020-01-22 16:40:19 +03:00
Vladimir Ilmov
913849c33b Coroutine debugger starting even if registry key set to false - fixed
GitOrigin-RevId: cb94f05c0d9519ff624370e5d23f1c690cfe8922
2020-01-21 13:39:13 +03:00
Vladimir Ilmov
f4d51a878f [coroutine] ComboBox disabled as in progress
GitOrigin-RevId: bdeb9bd16b349d33d30808062cd03958bf551d09
2020-01-21 13:39:13 +03:00
Vladimir Ilmov
ebe1c7e426 [coroutine] Exception fixed for SUSPEND coroutines.
GitOrigin-RevId: 1288735a0a5593b9969d625a83c46b1212c9b018
2020-01-21 13:39:13 +03:00
Nikolay Krasko
75191a1c05 Switch to 193 platform
GitOrigin-RevId: be39fb45e18d27226f5765f8a8681d22b6956a85
2020-01-19 12:01:53 +03:00
Vladimir Ilmov
2fd431e09b POC coroutine panel removed
GitOrigin-RevId: d84edf6c817b58c5bcce292c3d5c61c8166b17ef
2020-01-15 16:02:05 +03:00
Vladimir Ilmov
0decf83016 [debug] coroutine's stack frame locations pre-calculated on initialization
GitOrigin-RevId: c7d833d80738b20af43f1082ae25d584e617ac0b
2020-01-15 16:02:05 +03:00
Vladimir Ilmov
c930cf5f55 CodeConformanceTest @author mention in sources fixed
GitOrigin-RevId: f7bb9a8ef6b6611ecc4f6b39585477ecfe1a27c0
2020-01-14 18:06:44 +03:00
Vladimir Ilmov
0c8871f90c Coroutine as35 compatibility patch also added to 191.
GitOrigin-RevId: 5e3aa5b0175a68acf60e5120f424af2f71f0c69a
2020-01-14 17:55:51 +03:00
Vladimir Ilmov
7f55d9ebbd CoroutineAsyncStackTraceProvider stack corruption fix
GitOrigin-RevId: 446f06d555b96e0ce92235670dd1da5b889b4c12
2020-01-14 13:49:09 +03:00
Vladimir Ilmov
7c2e0a7f83 coroutine debugger toolbar added
GitOrigin-RevId: 5f7fbfba9117b78f8d633d8f45db4b5c18e1b743
2020-01-14 12:14:56 +03:00
Vladimir Ilmov
f4113fb131 coroutine debugger logic moved to jvm-debugger-coroutine module
GitOrigin-RevId: 1adf1bf62d2023d1964e20bdfda93d6ee3675a36
2020-01-14 12:14:56 +03:00