300 Commits
Author SHA1 Message Date
Maria Sokolova 78427051ef [coroutines-debuuger] Fix CoroutinesDebugHelper#dumpCoroutinesInfoAsJsonAndReferences return null in case of an error
GitOrigin-RevId: d0a7ff5f6ea4932ca570044ec348aabd1bdb95d4
2025-02-17 22:04:36 +00:00
Maria Sokolova 53e920e5e7 [debugger] Introduced provider of Java virtual and platform threads.
Flag: `debugger.thread.dump.include.virtual.threads`

IDEA-355724

GitOrigin-RevId: 5c260df1d4cd2003b17ff8dd7692eec823faa3fb
2025-02-17 22:04:36 +00:00
Roman Shevchenko 7981844b65 [java] retiring 'breakgen' DLLs from JVM process proxy (IJPL-16521)
GitOrigin-RevId: 3789c7f569bc1f220aa9c7524d36ac44a3754cf0
2025-02-14 13:21:00 +00:00
Mikhail Pyltsin add71cb7da [java-run] IDEA-367503 and IDEA-365965 hide gutters for java 22 and higher when it is impossible to create class
GitOrigin-RevId: be53750f3f70e70fde24181912887a36a874ab35
2025-02-13 20:06:20 +00:00
Egor Ushakov 8513706464 [debugger] do not leak results values in helper - do not create anonymous classes
GitOrigin-RevId: 798db72789f5517033023383160627e3cbf42890
2025-02-11 19:56:02 +00:00
Egor Ushakov cb646fee57 [debugger] do not leak results values in helper - fixes for review
GitOrigin-RevId: d75d1b9f361c8382afe420779c69ea3e6fafbb8f
2025-02-11 18:05:57 +00:00
Egor Ushakov 58bd28151b [debugger] do not leak results values in helper
GitOrigin-RevId: 66073216977cc93dad14823761bbf1551cf1b990
2025-02-06 17:45:24 +00:00
Vladimir Krivosheev 0d7a3d6a26 update bazel files
GitOrigin-RevId: 0a24ce8e81d403fa978c7237a7fc193ec40cb0bc
2025-02-03 18:28:40 +00:00
Vladimir Krivosheev b8245e1370 IJ-CR-146078 update bazel files
GitOrigin-RevId: 3bcfd10f71c84283bded464e142ead99edc6a278
2025-02-02 15:20:11 +00:00
Mikhail Pyltsin f9bd873664 [java-run] IDEA-365965 Support JEP 495. Filter non-static methods in abstract classes
GitOrigin-RevId: e96732d810ae6a0f1ffa44a0d5cc11d4c0f50d06
2025-01-20 20:57:08 +00:00
Maria Sokolova 10472a2795 [coroutines-debugger] Fix the slow Coroutine View: obtain jobs and parents of coroutines with a Helper method.
Build the coroutine hierarchy in CoroutineView, from a job and the first parent of each coroutine.

IDEA-335303

GitOrigin-RevId: 7fe634a291364438229cfae7680894fba25b07c6
2025-01-16 11:51:05 +00:00
Egor Ushakov 1cabca9ffe [debugger] throw NoSuchMethodException if method not found in helper
GitOrigin-RevId: 5c2f800f6a51b5e53bb35412d2439969029583e3
2025-01-14 19:26:24 +00:00
Vladimir Krivosheev 0bc1cf1557 update bazel files
GitOrigin-RevId: 7320d3eff3aba093692ce66839c720ece6d7c4db
2024-12-30 11:28:24 +00:00
Vladimir Krivosheev 25233df1b1 cleanup - isEmpty
GitOrigin-RevId: 100d69abb6a423556574a72e82508fdb8f5d7fa3
2024-12-27 14:41:14 +00:00
Vladimir Krivosheev 98799639aa do not use _test as lib - test targets do not support this
GitOrigin-RevId: f2f49db4294b6a64040dbbd5f1d95e972cbd70a3
2024-12-15 18:32:30 +00:00
Egor Ushakov 700b9b8e6b [debugger] prevent the exception garbage collection in helper
GitOrigin-RevId: b85234a5a0d83ef25e04655abb65fb70664dcab9
2024-12-13 19:48:05 +00:00
Maksim Zuev a5f063e9cf [debugger] EA-1583106 Explicitly load util class in case of debug attach
Fixes for IDEA-362750

GitOrigin-RevId: 4f6fc7eb45ea2e4beafdebdcf22973cb815c9977
2024-12-06 14:55:00 +00:00
Tagir Valeev 5dca817b05 Add missing @Override annotations
GitOrigin-RevId: 56b084f82d4f4ec5153645b4d745bc881b803a26
2024-11-29 12:51:16 +00:00
Vladimir Krivosheev 17916c90f8 libraries -> lib, resources, opt-in, test deps
GitOrigin-RevId: db66ee95dcb0f0553b40c9cc56cd6afed8634cdd
2024-11-27 13:53:42 +00:00
Egor Ushakov 4d28a3a308 [debugger] fixes for IJ-CR-149390
GitOrigin-RevId: 2276613d23ae0a19b5d730de5d1734d340c296e0
2024-11-25 19:05:01 +00:00
Maksim Zuev 083a9cbbd4 [coroutine debugger] IDEA-362750 Extract coroutine stacks with helper
GitOrigin-RevId: 049e579cbb771bb2f950ab030da59db9115716de
2024-11-25 17:00:46 +00:00
Vladimir Krivosheev 57a3174bf0 move resources to existing resources root
GitOrigin-RevId: 78997483cfe62983f667d27b6d03220e697cdb45
2024-11-23 08:09:44 +00:00
Egor Ushakov 1930f33628 [debugger] always wrap helper argument
GitOrigin-RevId: 24268ebe5dce4c04a6fce171ac58fa845d0fb973
2024-11-17 22:37:01 +00:00
Egor Ushakov b535182d7b [debugger] fixing tests failing with helper
GitOrigin-RevId: d1eaaab9f1258688dfdd4c8c13c3193faaf36999
2024-11-15 20:17:25 +00:00
Egor Ushakov 9912aee5c9 IDEA-363183 Kotlin Debugger: CCE on creating map during evaluation
GitOrigin-RevId: 65d4660706f3808c8de92e6944fe58b57617e665
2024-11-14 18:48:18 +00:00
Egor Ushakov 0d3637c28f [debugger] fixing tests failing with helper
GitOrigin-RevId: 25de2bbd23c70e4a715aa58f473bd2f742345739
2024-11-14 18:48:18 +00:00
Egor Ushakov b5816f2033 IDEA-363101 Kotlin Debugger: CCE on evaluating private function
GitOrigin-RevId: 98d05eb4f21fdd77bbbd6a98ac54eeb1d4dd72d2
2024-11-13 13:57:46 +00:00
Egor Ushakov 442ec9c204 [debugger] try to avoid arrays creation in batch evaluator
GitOrigin-RevId: 5f3a994c078248831e344005bffd8e4bbee8548c
2024-11-12 19:36:35 +00:00
Egor Ushakov a8bcc8b7db [debugger] fallback to the direct evaluation if helper fails and report helper stack in the error message
GitOrigin-RevId: e8162cd8f310cf870b456abe2a76da043fe3b726
2024-11-11 20:12:57 +00:00
Vladimir Krivosheev d0f2112207 bazel - use unique name to maven repository due to bazel issue (https://github.com/bazel-contrib/rules_jvm_external/issues/916)
GitOrigin-RevId: 1378657735b438684e934c8aca721d43980869c8
2024-11-09 11:06:41 +00:00
Andrzej Głuszak cbca664f6c [bazel] Second attempt at generating tests
GitOrigin-RevId: 7763c9994b7c311310b83b98a542775feb00ed68
2024-11-09 11:06:41 +00:00
Egor Ushakov 1add664fa3 [debugger] try to avoid using arrays for arguments in helper
GitOrigin-RevId: da29532cf4ab5345a51860cae3d08f0bdf96c3df
2024-11-08 14:22:21 +00:00
Egor Ushakov fbbc3e2e2f [debugger] fixed empty varargs array case in invocation helper
GitOrigin-RevId: a7a1942f7e3eaefed9e653b35d8b30dfc2fe8b24
2024-11-05 20:04:57 +00:00
Egor Ushakov 09d8f28ebf [debugger] use a spare args array element to avoid gc of the evaluation result
GitOrigin-RevId: 5c4e407769780b05a7028cfe3b4e3a40d2f42b05
2024-10-18 19:17:02 +00:00
Egor Ushakov b177e49486 [debugger] merged method name and signature into one param in method invocation helper
GitOrigin-RevId: 250e3f9a9406dd0c7270133b953f3607a87c7f21
2024-10-15 21:14:31 +00:00
Egor Ushakov ddc6768804 [debugger] avoid using thread local in method invocation helper
GitOrigin-RevId: 5a32b18dc530cba0c334830e492855f94019c0b6
2024-10-15 12:07:17 +00:00
Sergei Vorobyov 84e0f088dc [Junit|Test] cleanup: use field and method name constants for accessing them by comparison failure
Issues IDEA-359095, IDEA-353644

GitOrigin-RevId: e0f5c5098c3e2b902944cd520f481ba865f28273
2024-10-11 12:39:51 +00:00
Sergei Vorobyov 386665b49e [Junit|Test] fix: use getMethod instead of getDeclaredMethod for accessing public comparison failure data
The getMethod finds public methods in class hierarchy
The getDeclaredMethod finds public and private methods in target class

Issues IDEA-359095, IDEA-353644

GitOrigin-RevId: 772c318f95c561e36018dfbd16cf2f7b62663e94
2024-10-11 12:39:51 +00:00
Vladimir Krivosheev a9e7930abe bazel - build lang-impl
GitOrigin-RevId: c4c4dce20bd6e4046644f95f6e7b3f437c51668d
2024-09-27 13:47:17 +00:00
Vladimir Krivosheev a1210118c0 bazel - fix JPMS, exports and internal
GitOrigin-RevId: 3dc80a9ee01e1900c0cebc24b2d08f04f93ddeff
2024-09-25 19:05:37 +00:00
Vladimir Krivosheev 4eb9b78b78 use bazel to build platform-impl
GitOrigin-RevId: b5bbc75323a08c7674777e512dcfd988ceb4461f
2024-09-22 17:01:28 +00:00
Vladimir Krivosheev 834bd75254 run jps-to-bazel by Bazel, compile platform using Bazel
GitOrigin-RevId: 3774d5adc404b02036f70b7cc35c9e60fdb5d84c
2024-09-21 00:54:17 +00:00
Vladimir Krivosheev 8455df53ca build build-scripts using Bazel
GitOrigin-RevId: f6ab74d791f866f567297e20266a7620cddfafae
2024-09-20 01:52:02 +00:00
Egor Ushakov e8576838b4 [debugger] made invocation helper use method handles
GitOrigin-RevId: 340efd6c3cfacd29266b704ef80f0f9f3e2f3a11
2024-09-18 19:22:28 +00:00
Tagir Valeev 33a3a3d3d9 [java] Less raw types
GitOrigin-RevId: 0bb21ea1ab22c45d79e74e8c839c6b8495a9036a
2024-09-18 12:08:08 +00:00
Egor Ushakov eac3151e29 IDEA-323195 "Object has been collected" error during breakpoint condition evaluation - method invoker helper prototype
GitOrigin-RevId: 0c00a502ca662d95e7ef7cb1274cf2031793c885
2024-09-13 12:09:42 +00:00
Egor Ushakov 77fef373ad delete obsolete helper
GitOrigin-RevId: 3c741af9d8b539adaf168206fdd62e18cbaa18c7
2024-09-11 16:31:47 +00:00
Vladimir Krivosheev a8d3822f44 IJPL-159596 descriptors for some platform modules and test libs required for running Rider tests on production classpath
GitOrigin-RevId: d202ec6be7b832a7dbea981e62064102dcea180e
2024-08-02 19:06:31 +00:00
Sergei Vorobyov 1d6d957eba IDEA-355257 [TestFramework] fix: removed usage of the Junit 4 comparison failure inside the ComparisonFailureData
The ComparisonFailureData cannot depend on the Junit 3-5 classes. It should be universal over all Java test frameworks. Also, artifacts for these Junit classes existed only in compile time. That is the reason of hidden class is not found exception.

The deprecated FileComparisonFailure extends the FileComparisonData for two years. This interface is covered by the ComparisonFailureData.createFileComparisonData function. Also, the old one ComparisonFailureData.createFileComparisonFailure converts the FileComparisonFailure using the functions from the FileComparisonData interface. Therefore, we can remove the createFileComparisonFailure function without any functional loose.

Ps. The FileComparisonFailure planned to be removed in IDEA 2025.1 (IJPL-156277).

GitOrigin-RevId: 2aa1967fe0732d2add105020aab56fbc65cb3d6c
2024-07-15 19:24:07 +00:00
Maria Sokolova 039028fe06 [coroutines-debugger]: Fix stepping through and leaving scope coroutines
* Fixed extraction of continuation for `ScopeCoroutine` and moved the computation to the Helper class
* When stepping over the closing bracket of the suspend block -> step out


Merge-request: IJ-MR-136650
Merged-by: Maria Sokolova <maria.sokolova@jetbrains.com>

GitOrigin-RevId: c391c0097530c37d0c2d10fae88df221fffa0fd9
2024-06-14 16:47:27 +00:00