Commit Graph
472580 Commits
Author SHA1 Message Date
Aleksandr.Govenko a04f2e9512 PY-79986 For loop inside finally statement marked unreachable
Merge-request: IJ-MR-158267
Merged-by: Aleksandr Govenko <aleksandr.govenko@jetbrains.com>

GitOrigin-RevId: 52d7e16c4a6c339773ecbe90fe5d26d7d5ddfb03
2025-03-25 12:55:19 +00:00
Nikita Nazarov f241ee62a1 [kotlin debugger] IDEA-357870 Reimplement evaluatable getters filtering using metadata helper
Previously, filtering of evaluatable getters in variables view relied on bytecode inspections. Because of this, in some cases incorrect getters were shown, and also filtering was disabled completely in Android Studio.

GitOrigin-RevId: 6b86d0307526c2ffa23cf49a14d579504bd5f810
2025-03-25 11:25:03 +00:00
Nikita Nazarov b20a2c8b81 [kotlin debugger] IDEA-357870 Introduce evaluatable getters jdi packets benchmark
GitOrigin-RevId: 9840a754c811d0a09829b6982466b7e0922093c4
2025-03-25 11:25:03 +00:00
Nikita Nazarov 35981ac398 [kotlin debugger] IDEA-357870 Refactor JsonUtils (debugger runtime)
GitOrigin-RevId: b79b2a0deeb9a43358e3574fbe929d9fe89b61d3
2025-03-25 11:25:03 +00:00
Nikita Nazarov 856194d31d [kotlin debugger] IDEA-357870 Introduce MetadataDebugHelper
Kotlin compiler stores meta information about every class in the `kotlin.Metadata` annotation. Unfortunately, there is no way to fetch this annotation using plain JDI interface, because unlike method information, class annotations are not exposed to the debugger. This commit adds a helper class that allows fetching `kotlin.Metadata` of a specific class as a JSON string.

GitOrigin-RevId: 4d463abcd21f75acf90a2358d5782ee1b8b524d2
2025-03-25 11:25:03 +00:00
Yuriy Artamonov d7d6d06351 [vcs] IJPL-181900 CNFE: RegisterMappingCheckoutListener on Git clone
GitOrigin-RevId: ec3af3fd836416509eb3f54917d8c564b6b601be
2025-03-25 11:12:34 +00:00
Roman Chertishchev 8f4e2d7a50 [ai-completion] LLM-15629 increase completion log group version
GitOrigin-RevId: c089be396e4d1c8894938074462f9530b06bc86b
2025-03-25 11:10:33 +00:00
Tagir Valeev b3375e2e50 [mod-command] PsiUpdateImpl: support directory creation (IJPL-181686)
GitOrigin-RevId: ac82de7dbb2e15f911cd344df6bb7a6e2ea3262c
2025-03-25 09:45:39 +00:00
Vladimir Krivosheev cde632b597 update bazel files
GitOrigin-RevId: 3af0dab7884ac4ab5bbffa0cb49fea9ebc75406e
2025-03-25 09:10:47 +00:00
Vladimir Krivosheev 1f0118d266 cleanup
GitOrigin-RevId: 131f5fb08cd65980d47adecf75df1ec828193c3d
2025-03-25 09:10:47 +00:00
Vladimir Krivosheev 2b0872a0b9 update guava
GitOrigin-RevId: 002133b0c63b80fd8824b94a05e8d0331dd1c9aa
2025-03-25 09:10:47 +00:00
Alexander Kuznetsov 352676217d [rd][debugger] IJPL-177087 Ultimate attempt to fix project leak
Don't delete entities manually; instead, link them to the session entity (and hope all with be deleted with it)

GitOrigin-RevId: 170916f28532ef6161013eacfbc9ef706e1c7c15
2025-03-25 02:02:28 +00:00
Alexander Kuznetsov 0d2f2cbba4 [rd][debugger] IJPL-177087 Don't re-send the very same execution stack
GitOrigin-RevId: 3d16ee3c9fcc4d99ba880b368288f448162035a1
2025-03-25 02:02:28 +00:00
Alexander Kuznetsov d6a649e04b [rd][debugger] IJPL-177087 Minor improvements in BackendXExecutionStackApi
GitOrigin-RevId: afb56463d11d204b9168bf3250264a99b0260a18
2025-03-25 02:02:28 +00:00
Alexander Kuznetsov 22f6d6723d [rd][debugger] IJPL-177087 Trying to fix project leak 1
GitOrigin-RevId: 7f52f7f466f35a8574fa6ee0e657ed26c830ad0b
2025-03-25 02:02:28 +00:00
Alexander Kuznetsov 3db6c38939 [rd][debugger] IJPL-177087 FrontendXDebuggerSession: Handle flows cancellation
GitOrigin-RevId: c7d3efa2a380dd73cdd23ac6854eb1c9e582a2fc
2025-03-25 02:02:28 +00:00
Alexander Kuznetsov 2f8dad09fb Revert "[rd][debugger] IJPL-177087 Trying to fix project leak 2"
This reverts commit 1bd6fa5377650485669688b6282339ca35b99038.

GitOrigin-RevId: 1eb6a9a5de37295d7e2389fc742a114a14149c1e
2025-03-25 02:02:28 +00:00
Alexander Kuznetsov 38476f1020 [rd][debugger] IJPL-177087 Trying to fix project leak 3
executionStackFlow may not accept new JavaExecutionStack because of their value identity; wrap them in Ref like we do with stack frames

GitOrigin-RevId: 938f4b7f13d43f807c576ec21384787fef2c947d
2025-03-25 02:02:28 +00:00
Alexander Kuznetsov 10a9d26a1f [rd][debugger] IJPL-177087 Trying to fix project leak 2
Don't create XStackFrameEntity

GitOrigin-RevId: a7372d5b169101f1567c887f62d95fcf31642f57
2025-03-25 02:02:28 +00:00
Alexander Kuznetsov c94a81c844 [rd][debugger] IJPL-177087 Attempt to remove stacks/frames when the newer ones are calculated in relevant methods
For now, they're referenced in rhizome as manyTransient entities.

GitOrigin-RevId: 065956761b464815e339d1c6a8d4652b019f3728
2025-03-25 02:02:28 +00:00
Alexander Kuznetsov edbcf19fa4 [rd][debugger] IJPL-177087 Support XStackFrame.getSourcePosition
GitOrigin-RevId: 33d63284f747c3142dfe121a5ccd8b8a708aef74
2025-03-25 02:02:28 +00:00
Alexander Kuznetsov b6a0a8cd72 [rd][debugger] IJPL-177087 stackFrameChanged should be handled on EDT
GitOrigin-RevId: 3ccdb2a674f1ff02a84c4ec8f31d3f5c615b9e70
2025-03-25 02:02:28 +00:00
Alexander Kuznetsov dfed188821 [rd][debugger] IJPL-177087 Support computeStackFrames
GitOrigin-RevId: 01f3b2234053c8fdfbc1033d9e22b35c6c6b0146
2025-03-25 02:02:28 +00:00
Alexander Kuznetsov 7554645318 [rd][debugger] IJPL-177087 Initial support of frames view
- Only threads combobox for now
- Doesn't work properly after resume
- Threads may duplicate (have to compare items on the backend side?)

GitOrigin-RevId: d914f7e6bdd9eebc15076f075211a6f70c4dc27a
2025-03-25 02:02:28 +00:00
Liudmila Kornilova 349136f221 IJPL-175250 Log write actions
GitOrigin-RevId: 6c6802f02ddb020d932e1d50418ab27ed33631e4
2025-03-24 23:19:48 +00:00
Vladislav Rassokhin 31b3165ff8 [build scripts] JPS Caches: retry file presense checks on a remote server
GitOrigin-RevId: 6c6e42fb23d2d341469be71200309aaac2a1c418
2025-03-24 22:55:51 +00:00
Vladislav Rassokhin a105989d41 IDEA-263518 "Add as Ant Build File" action should not be shown for Maven files
GitOrigin-RevId: 6b88937b9631da629fab1652a51ea6ad0f82b84a
2025-03-24 22:55:50 +00:00
Louis Vignier eb6aed5f0f [javadoc] Introduce InheritDocContext record to avoid using pairs
IJ-CR-158044

GitOrigin-RevId: fa96ad9bd4c9e334fac6766babde903b048a16ba
2025-03-24 22:48:37 +00:00
Louis Vignier cb81ad3924 [jdk] Fix building the JDK downloader model
It would fail if the latest JDK wasn't available for our arch.

#IDEA-365777

GitOrigin-RevId: 4be75f133fb74f5803e394d6765d12dbd077cbaa
2025-03-24 22:48:37 +00:00
Louis Vignier 8f624db93c [javadoc] Add documentation to JavaDocInfoGenerator#findInheritDocTag
IJ-CR-158044

GitOrigin-RevId: df338cfceb1d33c5f623f35def3459717c62c9b4
2025-03-24 22:48:37 +00:00
Louis Vignier ce1464534a [javadoc] Add nullability annotations to InheritDocProvider
IJ-CR-158044

GitOrigin-RevId: fae6fd76cb88db7cc792887ffdb8f7af3980bade
2025-03-24 22:48:37 +00:00
Oleksii Sylichenko 36470eee14 [java] Update JrePathEditor.java. Refactor method setPathOrName
Move the call to the heavy method findOrAddCustomJre inside the if statement.

closes https://github.com/JetBrains/intellij-community/pull/2967

GitOrigin-RevId: fbb8eb19b1e210ae97fc7c7c6f12a11dedd2f4d3
2025-03-24 22:48:37 +00:00
Ilia Kirianovskii 1404068f3a jps-bootstrap: Upgrade jbrsdk to v17.0.14b1376.4
Also switches to jbrsdk .zip on Windows.

GitOrigin-RevId: 010b9a3a6aa0e3f880f288cf5d21e54ea65abb05
2025-03-24 22:08:30 +00:00
Yuriy Artamonov eacb91b526 [performance] IJPL-181579 Report triggered slow operation issues to FUS
More strict validation regexp

GitOrigin-RevId: 8eae08cd120bc0cfb1d978294f92238254a6b1f7
2025-03-24 21:35:37 +00:00
Roman Chertishchev 0cd9a35b82 [ai-completion] LLM-15550 Add JSON language support to the Evaluation Plugin for cloud code completion
GitOrigin-RevId: b686b53b969c3c65d301c6e1304fbf5b7a9f124e
2025-03-24 21:23:54 +00:00
Alexey.Merkulov 871204cdce [debugger] Remove IGNORE_K2 from test
GitOrigin-RevId: 8b726a0c69299fe0a2a4421b27228bd6dd51c68d
2025-03-24 21:17:48 +00:00
Evgeny.Terekhin 8d871f8631 Mixed mode. Changed a strategy of debug session stopping
GitOrigin-RevId: bf40a1c45b1233249184eae8436453741e092e76
2025-03-24 21:07:55 +00:00
Daniil Ovchinnikov 7aa9a64303 cleanup: reuse SlowOperations.logError
GitOrigin-RevId: 5d9cc12cb5d7770a7ff94c46d894b2769c2d08d6
2025-03-24 21:00:56 +00:00
Daniil Ovchinnikov 32aa45b549 throw SlowOperationCanceledException consistently in FORCE_THROW mode
Before the change it was thrown only once.

GitOrigin-RevId: befc489bc5c0edba54e64929c230d78fba9a707c
2025-03-24 21:00:56 +00:00
Daniil Ovchinnikov f7bf666e77 cleanup: make assertNonCancelableSlowOperationsAreAllowed readable and debuggable
GitOrigin-RevId: 4dbbf5597ebf8becc788e78cf03545a7e93dd886
2025-03-24 21:00:56 +00:00
Daniil Ovchinnikov 0776c439d0 cleanup: make assertSlowOperationsAreAllowed readable and debuggable
GitOrigin-RevId: 83e801986400ccb2ddef418d5a7193a7c9e9bb0a
2025-03-24 21:00:56 +00:00
Daniil Ovchinnikov 90e9185274 cleanup
GitOrigin-RevId: accbbbc2f554666d8e98a2c3777084e8bdfdbe83
2025-03-24 21:00:56 +00:00
Michael Golubev 13cf358729 IJPL-181857 - reviewed
GitOrigin-RevId: dfc788d55d2435839a0b7216e81ddf7974c7d8e0
2025-03-24 20:57:16 +00:00
Egor Ushakov f034060eed IDEA-323195 - introduced evaluation context key to control evaluation with helper
GitOrigin-RevId: 330d30283a01f502f31637abd5cccaec9976c9c5
2025-03-24 20:54:31 +00:00
Alexey.Merkulov f9c56903a5 [debugger] Fix resume point tracking for nested coroutine started (Dispatchers.Unconfined case and internal runBlocking)
It fix the stepOverWithContext test which was broken in the previous commit

GitOrigin-RevId: 0002bc0e4add6cc51c68c8698d32ee8ffc4bb95c
2025-03-24 20:53:59 +00:00
Alexey.Merkulov 7e113676fa [debugger] Remove the stepping request in the current thread if a coroutine suspends
This commit fixes stepping in runBlocking, IDEA-369686. And also it introduces the regression in the stepOverWithContext test. But the next commit will fix it.

GitOrigin-RevId: 76750510f23d37501dee0d8ff073adcbbf792f67
2025-03-24 20:53:59 +00:00
Alexey.Merkulov f48c719a28 [debugger] Do not process locatable event for canceled requests
GitOrigin-RevId: b903136804b0ca6a01109160dacc4e37d3f705dd
2025-03-24 20:53:59 +00:00
Alexey.Merkulov cfdb1f116e [debugger] Make it possible to set several stepping breakpoints
GitOrigin-RevId: 46bc117413907efeea3bb8a71f1df114e66f24e3
2025-03-24 20:53:59 +00:00
Alexey.Merkulov f911c11040 [debugger] Refactor loading class API
GitOrigin-RevId: 40a12089dd9622d4ee539f3f97732b4e974b168f
2025-03-24 20:53:59 +00:00
Alexey.Merkulov 8ee43317ce [debugger] Fix test, it was incomplete
GitOrigin-RevId: 4696e1b3dbd45254daee34da8a2764a357883569
2025-03-24 20:53:59 +00:00