84 Commits
Author SHA1 Message Date
Alexey.Merkulov 26bd4321bb [debugger] IDEA-365578 Fix stepping in coroutine code in suspend-thread mode
GitOrigin-RevId: d88a9962b7e2a70e8369ab5907c91f8c59360579
2025-01-21 18:25:52 +00:00
Vladimir Parfinenko f0798da23e [debugger] fix getting Thread properties for Thread Dump during debugging, IDEA-365596
Also remove localization, it's not needed for crafting thread-dump-like content.

^IDEA-365596 fixed

GitOrigin-RevId: 472f880ad8404d41279d5be1478bf138710d8161
2025-01-14 21:05:42 +00:00
Nikolay Rykunov a9bda93ae4 [debugger-rd] IJPL-160146: Get rid of XDebuggerPsiEvaluator, introduce XDebuggerDocumentOffsetEvaluator instead
It wasn't possible for Remote Dev to pass PsiElement to the evaluator, so let's calculate psiElement on the backend when evaluation is requested

GitOrigin-RevId: 576e569bf50a0be42a3e864e732e4d0f2b136a24
2025-01-06 18:49:50 +00:00
Tagir Valeev 2474286956 [java-debugger] i18n
GitOrigin-RevId: 3e1600cdb9b7ae6c95109ebd726849074e06ac5b
2024-12-18 13:41:46 +00:00
Vladimir Parfinenko 853177a8be [debugger] properly fail on unsupported evaluation, IDEA-364870
^IDEA-364870 fixed

GitOrigin-RevId: 6dee085d5994131ed3a6dccdabc2f9565dee0513
2024-12-17 20:21:12 +00:00
Vladimir Parfinenko 8541e14369 [debugger] better exception breakpoint popup, IDEA-364621
^IDEA-364621 fixed

GitOrigin-RevId: da05d3aedcc66463be0750ba88d6ba291ac7828f
2024-12-11 20:44:34 +00:00
Maksim Zuev 52e8626cda [debugger] IDEA-364009 Add a message explaining why variables are not available in async stack traces
GitOrigin-RevId: 92235359a3a4d8f7715abdb7339fdd0f1138aa90
2024-11-28 18:45:40 +00:00
Maksim Zuev dd9d999991 [debugger] IDEA-361922 Move JvmHotSwapUiExtension to the shared module
* configure settings sync for DebuggerSettings

GitOrigin-RevId: b320113170c8ab5e276f2216d3c4e7220742a313
2024-11-21 07:14:36 +00:00
Maksim Zuev f37fcef497 [debugger] Hot swap: drop Continue with previous code option
* it was effectively the same as close notification

GitOrigin-RevId: 0cf7a9c7653acf8aa1f78b2254952f97cbd4eee4
2024-10-25 17:56:11 +00:00
Maksim Zuev 16880061a7 [debugger] Rename hot swap -> HotSwap
GitOrigin-RevId: 15a648ee4cd01ec9dc638214e3f3cd30a72c70c9
2024-10-25 15:06:49 +00:00
Egor Ushakov 975b7bfd64 IDEA-360567 Evaluate expression, where array is cast to subtype array inside a lambda that returns the cast result, results in EvaluateException
GitOrigin-RevId: c7e27f136dadd2d028eedda594b20a9111bbbe4e
2024-10-18 14:02:44 +00:00
Alexander Kuznetsov cabbc02f7c [debugger] IDEA-349254 Add variable's name to the popup title
GitOrigin-RevId: 2bec93b27c31cdf4d574823905fd31794cb483dd
2024-10-14 17:27:11 +00:00
Alexander Kuznetsov 7d22b2f36b [debugger] IDEA-349254 Initial support for collections
Done:
- datagrid view (pagination, sorting, filtering)
- support for all inheritors of java.util.List
- the first element of the collection specifies the columns (if other elements don't have a field, the cell is empty)

To be done:
- tests
- support more types
- variables view on click (may result in producing nested sub-views)
- maybe include a variable name in the title

GitOrigin-RevId: 41ddf8cc16a9aae6aafc671ce1897584d198a6aa
2024-10-14 17:27:11 +00:00
Alexey Merkulov 0729b2a230 [debugger] IDEA-358626 Show indicator with possibility to cancel the stepping request
IJ-MR-145237

GitOrigin-RevId: 4283b9faf567bdbcaf25a44319928e102e3a7b10
2024-10-01 15:14:39 +00:00
Egor Ushakov 2ba8f51a30 IDEA-359455 Disable JIT option adds incompatible VM option -Xnoagent - dropped the setting
GitOrigin-RevId: 5bf5889d8d5b8790ac6959aca384f668bd6d89ac
2024-09-23 18:51:29 +00:00
Maksim Zuev d418d70cc0 [debugger] Hot swap button: add option to disable button
GitOrigin-RevId: 0bd41aca51c3c5067d345a70851aa8ea0a8605a3
2024-09-20 17:09:38 +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 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
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
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 4bb0bb1f6d [debugger] IJPL-158332 Add 'continue previous code' action
GitOrigin-RevId: f5ab6e0ad3aa913594ce7d80b80a9650bf281ec2
2024-07-30 17:13:52 +00:00
Maksim Zuev f227a20bb8 [debugger] IJPL-158332 Simplify java debugger notifications on hotswap failure
* do not include session name
* use balloon notification

GitOrigin-RevId: f9492529682e0a78b621a4184045ab8a3312666c
2024-07-30 17:13:52 +00:00
Tagir Valeev 9b8d299c1e Warnings fixed (i18n+others)
GitOrigin-RevId: 404f67f93b6c8d0df6ed13774791fc2d12b613cc
2024-06-27 11:21:13 +00:00
Vladimir Parfinenko 9069cc3dd2 [debugger] get rid of "Line and Lambdas" naming, fix IDEA-351980
Rebrand it internaly to "all positions" and just "Line Breakpoint" externally.

^IDEA-351980 fixed

GitOrigin-RevId: d869ba16014b738b6d24cc3988497bce0aedbf60
2024-04-18 10:55:08 +00:00
Alexey Merkulov 70d365d25a [debugger] Add notification about other threads also reached breakpoints
GitOrigin-RevId: 80bfff529dd80246ce8dc706bc126d6fdbe5924b
2024-04-16 20:08:55 +00:00
Vladimir Parfinenko 0b1e060f0f [debugger] hide stack frames of classes filtered during stepping, IDEA-345410
Add checkbox into settings

^IDEA-345410 fixed

GitOrigin-RevId: 53405a88e876db945ac0713d3c4fb3d5a11e131f
2024-02-12 16:38:07 +00:00
Vladimir Parfinenko f6346d4337 [java/kotlin debugger] add method/field breakpoint properties into tooltip, IDEA-343399
^IDEA-343399 fixed

GitOrigin-RevId: 95db4e3e3b2eaa4f39c8a2eaace15262a4017783
2024-01-18 14:30:02 +00:00
Vladimir Parfinenko 3ddcca04a6 [java debugger] better tooltips for Java breakpoints, IDEA-334537
^IDEA-334537 fixed

GitOrigin-RevId: dd1ebee1c8eecaf171f7c124ca60212bd4bd5bee
2024-01-17 19:00:09 +00:00
Vladimir Parfinenko f33959ccc5 [debugger] unify Java exception breakpoint name with other languages
GitOrigin-RevId: 73d925d5377f3fcc43e28c8b4c66808d068872ba
2024-01-17 13:13:36 +00:00
Vladimir Parfinenko d7fd4151c1 [debugger] include column number into XBreakpointType.getDisplayText()
GitOrigin-RevId: 357e8ec668fab25a77431b31e0923e2731ee0f20
2024-01-17 13:13:23 +00:00
Vladimir Parfinenko cfbcaa1e41 [debugger] breakpoint tooltips cleanup, fix IDEA-343151
Simplify XBreakpointType.getDisplayText() by excluding
Java properties from it.

^IDEA-343151 fixed

GitOrigin-RevId: 2b6a14744e36e813d52315a5e7126d957a43f1d3
2024-01-17 13:13:16 +00:00
Nikita Nazarov cd69495d25 Add common dialog window for retained size and paths to closest gc roots actions
https://github.com/JetBrains/intellij-community/pull/2570

GitOrigin-RevId: 440eb5ad0d254db37f5ccc28295ed3b334978d2b
2023-10-18 12:33:15 +00:00
Vladimir Parfinenko fcca767ed2 [debugger] better disable inline breakpoint on return on Android
Allow conditional return breakpoints in library files (they have no module).
Also add notification about setting line breakpoint instead of inline on Android.

GitOrigin-RevId: d95a76ac71b1f589a68a015ad2c84f7a846e50ff
2023-07-24 14:32:49 +00:00
Egor Ushakov 178a0cdb87 IDEA-307792 Remove unused 'Hotswap in background' field from the debugger settings
GitOrigin-RevId: 7fa142d5361a46324462ded51cd5ec1136f66292
2023-06-23 15:17:28 +00:00
Vladimir Parfinenko c9c9d58c9f [debugger] breakpoint on return inside one line if-return statement in Kotlin
^IDEA-315974

GitOrigin-RevId: 03c949e90b39f5cf9fd1c9b149b20ef7c4f56873
2023-06-16 09:43:44 +00:00
Vladimir Parfinenko f7e1075301 [debugger] make Java breakpoint variants more clear
Rename "All" to "Line and Lambdas" as in Kotlin

GitOrigin-RevId: aa7adde794ec482b94372a8a3865e52db1475afa
2023-06-16 09:43:37 +00:00
Vladimir Parfinenko ef260ef1aa [debugger] skipped breakpoints: add link to documentation
^IDEA-169914

GitOrigin-RevId: 4a5115b92718135d812bf9d8925a9527017343b5
2023-06-15 19:56:36 +00:00
Vladimir Parfinenko a519073b0a [debugger] notify about skipped breakpoints during stepping IDEA-169914
Also perform logging for such breakpoints if any

GitOrigin-RevId: 5da09fa62a9a63984b240a0c36c0f621fcf38d07
2023-03-20 18:20:39 +00:00
Alexey Kudravtsev 93b8841b03 fix typo
GitOrigin-RevId: 974ae2b912bee06489d21355045397a883c2e34b
2023-02-17 16:12:35 +00:00
Artemy Pestretsov 294181000b [dfa debugger] extract common presentation code to allow reuse in PHP dfa debugger implementation
related to WI-70670, review IJ-CR-102855

GitOrigin-RevId: 0d58dcc3e53f6d4955dcec4cec9630fb9a63bd5a
2023-02-15 13:24:27 +00:00
Alexey Belkov 74076e92d6 Use a more correct form of "fully qualified" phrase in messages
A hyphen is not needed. Examples:

https://docs.oracle.com/javase/specs/jls/se11/html/jls-6.html#jls-6.7

https://en.wikipedia.org/wiki/Fully_qualified_name

GitOrigin-RevId: 1212ebc0b70acf1519c78e68e363a7c9e9cf92da
2022-11-15 17:23:35 +00:00
Andrey.Cherkasov 6e7af5f625 debugger: record patterns support in evaluation
IDEA-301140

GitOrigin-RevId: c91c6667ceb7e1679262945ceb5337e54fb4be9e
2022-10-17 23:56:27 +00:00
Tagir Valeev 37cf32c901 [dfa-assist] Option in settings to turn off gray-out instead of registry key (IDEA-296575)
GitOrigin-RevId: a19fd7be9aadbfc2b5fa95d2d7363efac9e6a1db
2022-09-15 09:59:55 +00:00
Egor Ushakov 4f72c21d8f debugger - fallback to the default renderer in custom is unable to be evaluated
GitOrigin-RevId: f65e4dd132b14561c7bd216c1a44e805bf1aecc9
2022-08-25 13:24:34 +00:00
Elizaveta Sidorova e661b867d8 IDEA-281278 Collection modification breakpoint
added debug mode, fixes for instrumentation and ide side

GitOrigin-RevId: aa51696888a5691de03072586ebd35b0a521f4aa
2022-03-28 18:26:29 +00:00
Elizaveta Sidorova 887834d379 IDEA-281278 Collection modification breakpoint
init implementation

GitOrigin-RevId: 650f79cce6729bc6d6a57ea1a75727c98ef3c5c9
2022-02-23 23:22:49 +00:00
Dmitry Jemerov 45bae4bd07 i18n and rename for a couple of notification groups (IDEA-256552)
GitOrigin-RevId: 6f2685743ff106ab399c785ccc1236aa6b148e33
2022-01-07 22:38:38 +00:00
Alexander Lobas eff0a83854 IDEA-276160 HotSwap notification formatted wrongly and its background is not configurable
GitOrigin-RevId: ccde3c0a635442eb5e2427499e3e5ede3d10465a
2021-11-15 17:29:26 +00:00
Egor Ushakov 98108e3762 IDEA-281129 Evaluate is showing error (VM is not paused by breakpoint) even without trying to evaluate
GitOrigin-RevId: 676088704ba55dfe0e5d99344eb9370fbfbfb033
2021-10-27 13:25:23 +00:00
Nikita Nazarov 15338b3ab1 [debugger] Remove unused properties
GitOrigin-RevId: 5f9a4595be80d3fb6c5ad682e708128309fa037c
2021-09-07 11:24:51 +00:00