Commit Graph

5012 Commits

Author SHA1 Message Date
Egor Ushakov
9ea586bcc5 EA-1467020 - VMDE: TargetVM.send
GitOrigin-RevId: f2cff9a1ffb3be74e2bb8d3cb76eb77e8c6b1e05
2024-09-18 11:44:55 +00:00
Egor Ushakov
45cdc81648 [debugger] fixed tests with helper
GitOrigin-RevId: a8abe65f92d47bd0a3b311a6f58ea44c1011bf8b
2024-09-18 11:13:02 +00:00
Alexey Merkulov
00bf390eb6 [debugger] Concatenate all debugger context information into one attachment
GitOrigin-RevId: 30dec2f89ae5429f18c47bba2487d68d7b0b322c
2024-09-18 01:02:27 +00:00
Alexey Merkulov
2ded2d49a7 IDEA-346086 Fix error on run-to-cursor to non-loaded yet lambda or anonymous class in Kotlin
In Java, the engine can precisely identify the compiled names of classes for the required line. So the check will tell for sure that run-to-cursor will fail. But in Kotlin, the code generation can produce different compiled class names depending on options. It is not easy to be sure in the names while debugging. So better to try to execute run-to-cursor command anyway.

GitOrigin-RevId: 7332655691bb853355af825238c32b4d21d06989
2024-09-17 21:36:45 +00:00
Tagir Valeev
05de6a6bdb Less raw types
GitOrigin-RevId: 2a6e712b4017cf1ead7870543e562acb654fbeaf
2024-09-16 11:23:15 +00:00
Yuriy Artamonov
47f1c44a90 [java] IJPL-158521 Actions: fix ellipsis in messages for Java actions
GitOrigin-RevId: bfce0d6efa8747660c4b9af3d8defbfa47e4509a
2024-09-15 14:50:09 +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
6cc16a59f4 [debugger] updated jb-jdi to 2.37 - use exposed handleVarArgs
GitOrigin-RevId: 1e37940f69d985cc36de435f2c12322ba94f6b5c
2024-09-12 17:55:46 +00:00
Egor Ushakov
9b95b6800d [debugger] use Object base class for array methods
GitOrigin-RevId: da673821752e6ac9b62215afd66d8740a68a34f7
2024-09-12 16:24:39 +00:00
Maksim Zuev
a4ea6c6fb8 [debugger] IDEA-357188 Cleanup: Switch by error code
GitOrigin-RevId: 0ab0126116cac020b01ff6f8c8092221948a0412
2024-09-12 15:53:03 +00:00
Egor Ushakov
59d464cb6f [debugger] introduced mirrorOfArray utility method
GitOrigin-RevId: 101c39bab07e79e68cf6ff315342b5808ae9baf4
2024-09-12 14:56:07 +00:00
Egor Ushakov
b5216ee212 [debugger] do not notify about boxing methods invocations
GitOrigin-RevId: 7c3abaf65550d8e6b9e858870c8cd0f8adba58f8
2024-09-12 14:56:07 +00:00
Egor Ushakov
2f5bd38a12 [debugger] specify the exact method class name
GitOrigin-RevId: 282a173c4a7c462d3fe67a6af3595418dc8f4ad6
2024-09-12 14:56:07 +00:00
Egor Ushakov
6bd68d5036 [debugger] use the new ExactClassNotLoadedException
GitOrigin-RevId: 41c3609997e6c5d911007a773b9f54b6a1ff370a
2024-09-12 12:39:23 +00:00
Maksim Zuev
02a58d62f4 [debugger] IDEA-359016 Fix navigation to Kotlin lambdas
* due to primitive types boxing/unboxing lambda method heuristic search was broken
* now methods from the same class are preferred for the search

GitOrigin-RevId: 59cb85ead6729a98f58107ebd8487237c7ee27e3
2024-09-10 14:53:58 +00:00
Egor Ushakov
356e203e48 IDEA-359009 Allow to quickly open files in the editor - renamed the link
GitOrigin-RevId: 543f16ccd0c6e597d4909d97e6d38b79b989f851
2024-09-10 12:39:40 +00:00
Egor Ushakov
00abbe5f30 IDEA-359009 Allow to quickly open files in the editor
GitOrigin-RevId: 55cfad7e59bbfb91f0b0d7fc97d23ffa8cf48bbf
2024-09-10 12:37:42 +00:00
Egor Ushakov
8cd203c90c Rename .java to .kt
IDEA-359009

GitOrigin-RevId: fc88b64ad29030eb2edd930b5b908f20f2065c7e
2024-09-10 12:37:42 +00:00
Maksim Zuev
bac29e8431 [debugger] IDEA-357571 Reuse Java mark object provider in Kotlin
Merge-request: IJ-MR-143713
Merged-by: Maksim Zuev <Maksim.Zuev@jetbrains.com>

GitOrigin-RevId: 8e12de6d84f602f430f85ff8e3dc322464a81024
2024-09-09 16:52:33 +00:00
Egor Ushakov
12c9a722c0 IDEA-323195 "Object has been collected" error during the evaluation - fixed strings creation during the excessive gc
GitOrigin-RevId: a9d69d822891d035460c9e9fc364dae16355c723
2024-09-09 15:17:29 +00:00
Maksim Zuev
5d0c98019d [debugger] IDEA-357188 Hotswap: log statistics
GitOrigin-RevId: 6d320a6c28cfb8b1bd1b7c50a498d4e873f2a556
2024-09-09 10:56:36 +00:00
Maksim Zuev
066944400e [debugger] Clean up DebugProcessEvents.java
GitOrigin-RevId: b37daf2f86ce97677505553bbb8fc2b0098f8d78
2024-09-09 10:56:35 +00:00
Egor Ushakov
be3357d58f [debugger] dropped SigReader, use asm instead
GitOrigin-RevId: 5b1e3af9e2cc8f2e302cb63ca5a04a7ef9d5e44e
2024-09-06 18:51:50 +00:00
Egor Ushakov
8d576b0d2a [debugger] extracted DebuggerUtilsEx.typeNameToSignature
GitOrigin-RevId: c893e574e2789da4b38078f9a4a20ff284e564dc
2024-09-06 18:51:50 +00:00
Tagir Valeev
c09e6176d9 [dfa-debugger] Add 'non-null' relation on unknown types
Fixes IDEA-358069 No DFA hints on nullity test of proxy object

GitOrigin-RevId: 3c7a0bfc67db527e0b06b872bad0967ff4c2720e
2024-09-06 14:44:46 +00:00
Mikhail Filippov
f13d92e82f IJPL-150165 switch to invoke dynamic lambdas in Kotlin
GitOrigin-RevId: 63ba45a21874cc723917982996fce1a510b2a182
2024-09-05 11:19:31 +00:00
Aleksey Pivovarov
4e885e28cc IJPL-160901 debugger: explicitly propagate 'VMDisconnectedException'
This fixed com.intellij.debugger.engine.MultithreadedTest

GitOrigin-RevId: 1ee595bd207e1318a3ca4603c744d4d980f495a9
2024-09-04 23:27:07 +00:00
Alexey Merkulov
1389e48513 [debugger] Fix generating exception during logging another problem
GitOrigin-RevId: dd63a316f6c301dfee7166f445e61a4bde9b0c5e
2024-09-04 17:00:30 +00:00
Egor Ushakov
f75bb31a88 EA-914893 - T: DebuggerManagerThreadImpl.invoke - reduce number of errors
GitOrigin-RevId: 0dca206a719192c9035ff92822cb2a91535ef430
2024-09-03 19:29:14 +00:00
Mikhail Filippov
bf43f2fc01 IJPL-150165 bump Kotlin language and API version
GitOrigin-RevId: a59dc8ca214a5047773fccf1cf28a1e1b07acf68
2024-08-30 22:15:55 +00:00
Egor Ushakov
dd59c8ce30 EA-1078935 - T: SubmissionTracker.preventTooManySubmissions
GitOrigin-RevId: ef5d88cf2d1f580574bb64724cc1c32e0ac8c30e
2024-08-30 16:49:52 +00:00
Maksim Zuev
759812ceee [debugger] IDEA-357571 Add the ability to provide synthetic variables into an evaluation context
Split CodeFragmentFactoryContextWrapper into 3 parts
1. CodeFragmentFactory wrapper
2. AdditionalContextProvider for additional variables extraction
3. EvaluationContextWrapper that can add variables in a language-specific way


Merge-request: IJ-MR-142450
Merged-by: Maksim Zuev <Maksim.Zuev@jetbrains.com>

GitOrigin-RevId: d0c4a1131fa45540224e7cc06d5cd917c2ea94b5
2024-08-30 12:36:26 +00:00
Egor Ushakov
9a2a2d9244 [debugger] refresh everything on async stack traces switch
before this top frame was not refreshed and some parts of the stack may not be updated because of that

GitOrigin-RevId: c3fdf4ecadf2a441c109fd701fde9d9d6532b50f
2024-08-29 14:17:19 +00:00
Vladimir Parfinenko
a5afd57455 [debugger] support evaluation of Java signature polymorphic methods, IDEA-358378
^IDEA-358378 fixed

GitOrigin-RevId: 9febcc6d20fac8b79ab755dd46dce51d66d19ac0
2024-08-28 16:41:37 +00:00
Alexander Kuznetsov
42e63cac7e [debugger] IDEA-352355 registry key to enable async stack traces for flows
GitOrigin-RevId: 8fea2b87f4e33369a583f720ffb1d4ca137173ea
2024-08-28 12:11:44 +00:00
Gregory.Shrago
038c336ddc migrate ActionPlaces.isPopupPlace usages
GitOrigin-RevId: 6caf1344423c8142a549d507c19e4ea40a721284
2024-08-28 05:13:52 +00:00
Egor Ushakov
8d566906e0 IDEA-358202 toString() on array works incorrectly in debugger
GitOrigin-RevId: a54e56b18d7491bd1810ef39e85e10d73e9a87c3
2024-08-27 12:00:38 +00:00
Maksim Zuev
93466ff0c7 [debugger] Review fixes IJ-CR-141160
GitOrigin-RevId: 9ab14af41216a6ef674f8b7f712bc21df1952de7
2024-08-27 11:29:23 +00:00
Egor Ushakov
abef858dba EA-1322209 - T: LineBreakpoint.getMethodName
GitOrigin-RevId: 33664eae38d498494a46c2f8ccd87a5711d82866
2024-08-26 23:27:44 +00:00
Vladimir Parfinenko
d751b630b1 [debugger] review of text visualizers, IJ-CR-137328
GitOrigin-RevId: 42d1f4461648eb890ac98bffd3486ddf0668e71d
2024-08-23 21:27:07 +00:00
Gregory.Shrago
3af17c93f0 drop allowSlowOperations usages
GitOrigin-RevId: 5118241ba0c9a06018104f24f10d4a47f1d630dd
2024-08-20 16:56:17 +00:00
Egor Ushakov
2072fd3a2d [debugger] updated debugger-agent to 1.23
- support for async stack traces in Flow
- updated ASM to 9.6.1
- fixed performance issues in coroutine async stack traces

GitOrigin-RevId: 1109998828eb9962edb693f9c334c5a28a2b4ad4
2024-08-20 12:20:11 +00:00
Maksim Zuev
85a0592934 [debugger] EA-1406581 Remove callback from API, force parent-child computation order only for Java
Fixes 643f2b54ead68cda51676a4005fafae48cad755b

GitOrigin-RevId: d6c3bf1cf3c84a6506fd3c6d508dc075cb46e8e6
2024-08-14 11:41:44 +00:00
Lev Serebryakov
df7dbf79f4 IJPL-149317 Disable Write Intent Lock for runnables executed on EDT
Add explicit locks in Java support.

GitOrigin-RevId: ee00abe855c80245102334b3f32ea49415b885ea
2024-08-13 17:24:47 +00:00
Maksim Zuev
ef8d65ead0 [debugger] IDEA-356958 Show success status in the hotswap toolbar
GitOrigin-RevId: c3bf564b0fa8acd9020bb2e7f3c0ce7119ee7325
2024-08-13 14:12:10 +00:00
Maksim Zuev
dfcb0b943c [debugger] IDEA-356958 Add setting to disable the floating toolbar
GitOrigin-RevId: d7e4a360b1a59fc040e8e0c0d51b0dacde6f5d86
2024-08-13 14:12:10 +00:00
Maksim Zuev
34cbc3e5a0 [debugger] IDEA-356958 Replace icon with debugger sync
GitOrigin-RevId: d4a874a863f03b79c1ba1788ba0a681474f1fcb7
2024-08-08 15:54:15 +00:00
Maksim Zuev
535ff074fc [debugger] IDEA-356958 Listen to hot swap when build was called
GitOrigin-RevId: e16e599d07c5a7ce12c5cae7ffa2f1b70fcf3773
2024-08-06 22:42:15 +00:00
Maksim Zuev
4ca426ddb0 [debugger] IDEA-356958 Support multiple sessions
GitOrigin-RevId: 1abd6c4658ad13f7a34041a7f9c16ae7dc67ac0d
2024-08-06 19:58:56 +00:00
Maksim Zuev
1f003b6aa0 [debugger] IDEA-356958 Add file extension filter
GitOrigin-RevId: 13182094277bcd580f5221825c0f8c93ecfd9bab
2024-08-05 19:13:06 +00:00