Commit Graph

4601 Commits

Author SHA1 Message Date
Egor Ushakov
7ba2dad0ef EA-771056 - INRE: JavaLineBreakpointTypeBase.canPutAtElement
GitOrigin-RevId: 38029bf91bd09c054f51d4611fad3ed8931671d0
2023-06-16 11:57:54 +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
b02075f3b7 [debugger] fix unconditional stop on conditional return breakpoint inside of void lambda
^IDEA-315974

GitOrigin-RevId: fb27268aa1e1b834039aeb659964c100a82076f0
2023-06-16 09:43:40 +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
4ea4cd5131 [debugger] ability to show bytecode index for stack frame locations
GitOrigin-RevId: bb2d8f4a05d8c2f1bc8487fd22bf1ec6d89a41a0
2023-06-16 09:43:34 +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
Egor Ushakov
ac2a6b4e32 exposed getLineClasses for use in android position manager
GitOrigin-RevId: c64e01dc43c1d61358c569e688a8178aeb757c5a
2023-06-15 11:16:31 +00:00
Egor Ushakov
9e477b9e98 IDEA-322456 Debugger: show depth of recursion in frame view (as for Java) and correctly show reset frame when available
GitOrigin-RevId: e6370c53b590baf6ddba1c31275a03b9f954da6b
2023-06-14 18:46:13 +00:00
Egor Ushakov
9e82931146 EA-560552 - NME: StackFrameImpl.pop
GitOrigin-RevId: 285dd65136be2a6fbccf930d322ee5ea66dc6cd8
2023-06-14 14:21:22 +00:00
Egor Ushakov
d7206f5655 cleanup: extracted common method
GitOrigin-RevId: db2437836937a6194bb54708fa5c1a47401c7a7e
2023-06-14 14:21:20 +00:00
Tagir Valeev
eceaae8757 Enhanced switch used; other minor warnings fixed
GitOrigin-RevId: 36dd4522e953681b2fc3463968d172d2bf6453bf
2023-06-13 13:42:37 +00:00
Daniil Ovchinnikov
97f0a7fd3b migrate usages of ModalityState.NON_MODAL to ModalityState.nonModal
GitOrigin-RevId: fb4855bfa90dbf384fed24871e4b28ab803847bb
2023-06-09 21:58:50 +00:00
Vladimir Parfinenko
a1e4c6d5d7 [debugger] fix conditional return breakpoint inside of anonymous class
getSourcePosition() now is aligned with getHighlightRange()

^IDEA-315974

GitOrigin-RevId: 993115f83bd7efd8c16888b3a28395b7adf8f540
2023-06-03 14:20:57 +00:00
Vladimir Parfinenko
a06b12afaf [debugger] add some missing canGetBytecodes/ConstantPool checks
GitOrigin-RevId: e04b0df73142f9ee7d120657e876fd6b5a6aefd4
2023-06-01 17:32:18 +00:00
Vladimir Parfinenko
0e9085984f [debugger] breakpoint on return inside one line if-return statement
* only Java
* only single return
* "lambda ordinal" to be refactored

^IDEA-315974

GitOrigin-RevId: 3f2e0a8e220a792b665d07375fc3fe67aa5d0bac
2023-06-01 17:32:18 +00:00
Alexey Belkov
1d790f1992 Apply "Java methods should be replaced with Kotlin analog" inspection on whole project
GitOrigin-RevId: 35d07247cdf7742957dde59bbb8d6408754a9c4e
2023-05-26 09:44:56 +00:00
Alexey Belkov
a6521777bf Revert "Apply "Java methods should be replaced with Kotlin analog" inspection on whole project"
This reverts commit 9863c1e3

GitOrigin-RevId: 7fe730efd4ffe4fef76fe6f36c3e53b496067855
2023-05-25 07:09:00 +00:00
Alexey Belkov
ebe914e465 Apply "Java methods should be replaced with Kotlin analog" inspection on whole project
GitOrigin-RevId: 9863c1e384067b97b5015147589e409facd37549
2023-05-24 16:04:31 +00:00
Nikolay Chashnikov
a937ba693d [java] API cleanup: remove unused deprecated API (IDEA-312594)
GitOrigin-RevId: 885c1cb57291a0c99e9f911cb2d266ae8e7e0835
2023-05-15 13:58:12 +00:00
Egor Ushakov
c97a330593 IDEA-319871 Logging breakpoints make debugger evaluation hangs with "Collecting data..." - small fix for IJ-CR-107271
GitOrigin-RevId: 5ae6a7b7cd554ab5dc4579dff42e8d0f4acaca24
2023-05-11 08:56:52 +00:00
Egor Ushakov
a5ad1c6976 IDEA-319871 Logging breakpoints make debugger evaluation hangs with "Collecting data..."
GitOrigin-RevId: e6681be4ca3f1419f7d6614ec85ae0e8e9c099df
2023-05-09 22:36:44 +00:00
Gregory.Shrago
8ab7bc6ab2 typo fix choosen -> chosen 2
GitOrigin-RevId: 75bb18ca2301fa82b0566b114797b1ad35c37238
2023-05-08 20:29:45 +00:00
Tagir Valeev
498d3de463 Warnings fixed
GitOrigin-RevId: c776724abc32aec898940cedbc96e6bbd874289c
2023-05-05 19:45:47 +00:00
Vladimir Krivosheev
227d75a1fc don't extend DynamicBundle
GitOrigin-RevId: 49cbebd629a92877dbeeffba8d97b0631fb9407e
2023-05-05 09:46:42 +00:00
Vladimir Parfinenko
2937b1bbea [debugger] refactor Java Smart Step Into
MethodBytecodeUtil now provides information about bytecode offsets.
This simplifies searching and filtering of smart step targets.

Reviewed-by: Egor.Ushakov <egor.ushakov@jetbrains.com>

GitOrigin-RevId: 9222d99b3b536759392b84cdb99a316def3b8a7d
2023-05-04 16:44:42 +00:00
Dmitry Avdeev
467347ac02 IDEA-318720 T: WorkspaceFileIndexDataImpl.ensureIsUpToDate
more granular read actions

GitOrigin-RevId: 2e1ce8980f9cf4a1e08995213e914e4b9cf74031
2023-04-23 20:23:24 +00:00
Kate Botsman
0d321457d8 GTW-3271 Fix breakpoint editor layout
- Changes in GridLayoutManager converter
  - supported row span
  - fixed shouldFill method (check fill param instead of size policy)
  - set fill to row only if all element wants to fill (and there is at least one)
  - if column/row size wasn't set (there is no explicit elements in column/row) - use Fit size instead of Fill
  - Set size constraints from grid to elements, so they have expected preferred/min/max size
- Changes in other controls
  - track "enabled" property for combobox, radio button and text field
  - track "editable" and "text" properties for text field
  - support mouse clicks on JLabel
  - properly init BeStyleControl and BehaviourControl (BeControl attributes should be copied from initial control)
  - support text position in BeText and fix rich text updates
  - support preferred size in BeStyleControl 
- Add CropIconModel to ShellModel 
- Fix BreakpointPanel layout - some panels grew vertically when they should not, replaced "FILL_BOTH" with "FILL_HORIZONTAL"
- Move spacer from XLightBreakpointPropertiesPanel.form to upper level so it won't depend on another spacer
- Support different types of borders (titled, line, empty)

Merge-request: IJ-MR-106091
Merged-by: Kate Botsman <kate.botsman@jetbrains.com>

GitOrigin-RevId: f92bbf498d29aa3a49da80bdde837b44527a7bb4
2023-04-19 10:34:38 +00:00
Gregory.Shrago
af775bed22 employ known-issues category to silence most reported slow-ops 2
GitOrigin-RevId: 09872a7c457b34895ca20a5d7ea01c2959626708
2023-04-17 23:20:16 +00:00
Vladimir Parfinenko
4e4c43ae04 [debugger] fix duplication of outer parameters in lambdas, IDEA-318062
GitOrigin-RevId: e9a921711de41517437ccefb8e216af876100d3c
2023-04-17 11:55:40 +00:00
Daniil Ovchinnikov
6fe5c49599 deprecate com.intellij.reference.SoftReference constructors
GitOrigin-RevId: a723be59b812f71953e79879d7adf09d58a9e935
2023-04-15 00:04:29 +00:00
Zhanna Gorelova
6bb194f242 IJ-CR-104976 [reactor][debug] IDEA-275263: boolean instead of Boolean is used
GitOrigin-RevId: 98c71ad2ec59e4fa91fbaca12a3acf84558b6b4f
2023-04-13 10:46:51 +00:00
Vladimir Parfinenko
e452f4fc2f [debugger] reenable multithreaded unit test
Also make ResumeCommmand resume the given thread and not the current one.

GitOrigin-RevId: 4197c705c10a09726b1ecf3f805bebba127f8a41
2023-04-05 12:40:47 +00:00
Vladimir Parfinenko
9ebbfb0c44 [debugger] refactor SuspendManager.getPausedContexts
Suspend manager logically can have more than one paused contexts.
Technically this method was always used via cast to the only inheritor.

GitOrigin-RevId: 959d54e7fa29f631f7b17c43ea35a49ba1f4a5a0
2023-04-05 12:40:42 +00:00
Vladimir Parfinenko
195031facc [debugger] fix skipping suspend-thread breakpoints during stepping
It was a regression after skipping rework

GitOrigin-RevId: f59fdfa7eaed90a94da6d65f9d3acdc5965efda7
2023-04-05 10:16:55 +00:00
Zhanna Gorelova
cdab264467 [reactor][debug] IDEA-275263: separate method with applicable check depending on Project was added instead of getIsApplicableChecker overload
GitOrigin-RevId: 5021b666af07d706287c0f323caf2580e2beda8e
2023-03-31 17:35:45 +00:00
Zhanna Gorelova
81b693c4b9 [reactor][debug] IDEA-275263: Api method getIsApplicableChecker global change was reverted, now used only in ReactorExpressionRenderer
GitOrigin-RevId: 4877cfd15986906a8a115b3c10051131b84cadff
2023-03-31 13:45:03 +00:00
Zhanna Gorelova
fbe13f60ba IJ-CR-104976 [reactor][debug] IDEA-275263: Project now is propagated to Compound renderer during its creation
GitOrigin-RevId: b2ebc5f07d510643f4ced8c65cabbaab977b68bb
2023-03-30 17:38:04 +00:00
Egor Ushakov
eea1c6a766 code cleanup
GitOrigin-RevId: 5c176faaa50272133b68b4e40cfcdba69627bdeb
2023-03-27 14:36:05 +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
Egor Ushakov
91f5891939 debugger: avoid using the obsolete API
GitOrigin-RevId: b6eb61d2a4a0fa3451e34a9d36b6c05417719eb0
2023-03-17 12:56:11 +00:00
Alexey Kudravtsev
cbf060942c deprecate ObjectUtils.consumeIfNotNull, fix usages
GitOrigin-RevId: 576b7bbf18a6b1bc772c12dca24b82a4c8a5ad29
2023-03-13 17:41:58 +00:00
Alex Plate
1d8b7a26f7 [IDEA-314549] Refactoring UiNotifyConnector.Once to avoid constructors with side effects
GitOrigin-RevId: 98107154803a8ecf83ae880e3bf41f6c6130f6fc
2023-03-02 16:27:58 +00:00
Alex Plate
350d635ff3 Update remaining usages of TreeSpeedSearch
GitOrigin-RevId: 87636623fa98b57d1c90425537ed1be10cfac883
2023-03-01 19:28:32 +00:00
Eldar Abusalimov
484e6c21ad CPP-32316: XAttachDebuggerProvider: Make return type list covariant
Had to rewrite XLocalAttachProfilerProvider from Kotlin to Java to
avoid a resolution conflict in RbSpyLocalAttachProfilerProvider.

GitOrigin-RevId: 14dd124b9984c0a2ee41505b23be893f4e11e537
2023-03-01 16:52:46 +00:00
Vladimir Parfinenko
09f26681a9 Small typo
GitOrigin-RevId: 87ee6eb5650525be3a4da5ae080161dc2fbef5f2
2023-02-28 16:11:45 +00:00
Alexey Kudravtsev
3100c4c02e deprecate getOrCreate in favor of standard computeIfAbsent
GitOrigin-RevId: 62b6262fd095d78a933fcfd8bbba980be961e73f
2023-02-24 13:43:36 +00:00
Egor Ushakov
a814fc1fe2 EA-763645 - T: FileBasedIndexImpl.ensureUpToDate - fix for IJ-CR-101204
GitOrigin-RevId: 95fc5acf9e9db458b928f7c05276cc81148b2dd8
2023-02-24 12:36:00 +00:00
Egor Ushakov
dc59edbafe EA-658721 - T: DirectoryIndexImpl.getInfoForFile
GitOrigin-RevId: 0dd530c3229c7b54c8054470dd12403a8c064865
2023-02-22 19:56:29 +00:00
Egor Ushakov
a8b1fadc78 EA-793142 - NPE: ExceptionFilter.<init>
GitOrigin-RevId: 0e0e5ab62813875a74dec2b6aea0f6b89a8ea584
2023-02-22 17:24:08 +00:00
Alexey Kudravtsev
9f5b60b0f0 replace some usages of ContainerUtil.set() with immutable sets to get rid of unclear-semantic methods
GitOrigin-RevId: 3ba1266af01d64a228c10df59b18c4ac797c2a9b
2023-02-20 19:11:19 +00:00