Maksim Zuev
81634bb3f3
[debugger] IDEA-352803 Try getting variable values one by one when batch request failed
...
Uninitialized Kotlin inline variable causes InconsistentDebugInfoException
GitOrigin-RevId: 936fbf7611580bf9b0ed1e15836b70cf188d3854
2024-05-16 18:52:55 +00:00
Nikolay Chashnikov
70676eed64
[java] API cleanup: remove unused deprecated API (IJPL-503)
...
GitOrigin-RevId: 36db2165d4a4bb133b7d63db944f6c8fe3490fa8
2024-05-16 18:00:17 +00:00
Nikolay Chashnikov
afde5c0221
[java debugger] API cleanup: remove unused deprecated API (IJPL-503)
...
GitOrigin-RevId: 6389dbd06b0f268b48e30fc497bd2a1e8ef9425c
2024-05-15 23:25:49 +00:00
Nikolay Egorov
3edbfaa5d0
[debugger] Introduce a way to provide evaluationContext without converting it to pausedContext
...
GitOrigin-RevId: 0b640745949259f4054467cbf047201c97838bc5
2024-05-15 20:54:47 +00:00
Egor Ushakov
53ac38182f
[debugger] added nullability for better errors detection
...
GitOrigin-RevId: b9751c6fb604e194fd13d752f11a813d90197976
2024-05-14 16:25:51 +00:00
Alexey Merkulov
a8849e232f
[debugger] IDEA-352482 Fix Step Into suspend lambda
...
It seems the problem comes from some JVM bug: using filters results to skip user code during stepping in. So the fix forces use Smart Step Into and adjust it to the suspend lambda case. Smart Step Into does not use automatic stepping filters and so avoids the JVM bug.
GitOrigin-RevId: 3d44630a976075632013529fd3d33447f8ca2265
2024-05-06 13:20:08 +00:00
Egor Ushakov
72ccd6afd4
IDEA-352394 Breakpoints on commented lines in java code shouldn't be allowed
...
GitOrigin-RevId: 5113451d62b3b38621f2c62f0f83f6ce5b5f66b8
2024-05-03 14:45:46 +00:00
Vladislav.Soroka
630c40612f
Notify debug process listeners about exceptions during attach FL-26056
...
GitOrigin-RevId: 0b07974dacf1a0cc33ac0261d6a8fae9b434729e
2024-05-02 17:59:09 +00:00
Alexey Merkulov
3617358ca3
[debugger] Fix skipping breakpoints detection in current thread
...
The regression was done during 3682e04f583832e61413050752ca8879e3760d5a improvement
GitOrigin-RevId: 17018b92f7c6f8de2ec94c3277306b1ded7f13d8
2024-04-29 20:58:55 +00:00
Vladimir Krivosheev
9e23996158
IJPL-148294 extract vcs functionality from java plugin to separate modules (so, for example, SH tests can be executed without VCS)
...
GitOrigin-RevId: f19565ca367bc668cefaafde0dc2209c5b2c3eba
2024-04-29 15:45:33 +00:00
Egor Ushakov
5cf5d1b3d0
[debugger] print more details in exceptions from helper methods
...
GitOrigin-RevId: bf8b4d2067df69762614b98720f88dea046fed6f
2024-04-26 17:05:20 +00:00
Egor Ushakov
44bddf92c6
IDEA-352596 Critical error in IDEA Async Stacktraces when debugging fleet
...
GitOrigin-RevId: c802800ff62a596f04317a894c4c363bedc01a35
2024-04-26 16:17:07 +00:00
Alexey Merkulov
d54f2b3abf
[debugger] Improve skipping breakpoint detection during evaluation
...
This patch fixes some race cases when breakpoints hit when long evaluation was finished already, but other threads were not yet suspended back by the InvocationWatcher
GitOrigin-RevId: 3682e04f583832e61413050752ca8879e3760d5a
2024-04-25 21:41:00 +00:00
Maksim Zuev
ae416f3b15
[debugger] IDEA-323944 Eliminate 'find usages' call for Kotlin breakpoint candidates search
...
[debugger] IDEA-323944 Use single async request
[debugger] IDEA-323944 Add source filter to the inline prepare request
[debugger] IDEA-323944 Reduce the number of 'getAllClasses' calls
Do not update package/class name of every breakpoint update
[debugger] IDEA-323944 Update JDI to call SMAP checks directly
[debugger] IDEA-323944 Limit extra search only to cases when an inline function is present
[debugger] IDEA-323944 Eliminate 'find usages' call for Kotlin breakpoint candidates search
[debugger] KotlinPositionManager: move JDI calls out of read action
Merge-request: IJ-MR-131703
Merged-by: Maksim Zuev <Maksim.Zuev@jetbrains.com >
GitOrigin-RevId: bd99b2b2fd230546d4ccbf0679ce24db04048063
2024-04-25 17:31:33 +00:00
Vladimir Parfinenko
f9efa05347
[debugger] minor code style fix
...
GitOrigin-RevId: baeffa1c8abf568eadad7ee7aa1efdbf6f17b7ec
2024-04-25 17:27:00 +00:00
Alexey Merkulov
d9934769b7
[debugger] KTIJ-29664 Add disposable for notification balloon
...
GitOrigin-RevId: 8a4edae15f2bf77c662fcc6b00ff8e7c973c6a48
2024-04-23 13:50:52 +00:00
Alexey Merkulov
0fd2282f5f
[debugger] Add registry to check the debugger engine consistency
...
GitOrigin-RevId: e224f9e193be8d10d222c7bfa665d1cda279c5a0
2024-04-22 21:07:46 +00:00
Alexey Merkulov
f5440c6a54
[debugger] Improve errors tracking in InvocationWatcher
...
GitOrigin-RevId: 44f0b6fe80d27f886ab6f60e9805c0076eef41e3
2024-04-22 21:07:41 +00:00
Alexey Merkulov
12e8173539
[debugger] Implement Repair Debugger Action: it should help after problems in debugger context management and focus
...
GitOrigin-RevId: 3f5dbe58ce01d3f2c7a6b6a9772783299879f5f0
2024-04-22 18:55:18 +00:00
Alexey Merkulov
a68e197ca1
[debugger] Refactoring: extract base class for session related actions
...
GitOrigin-RevId: 309fdbf8d7e2a5b30bc8bdd0b78a1a6e3c78275f
2024-04-22 18:55:14 +00:00
Egor Ushakov
e9b759abf5
[coroutines debugger] fixed a flaky test
...
there was an exception when myIsCollected was changed from another debugger manager thread (doing evaluation)
GitOrigin-RevId: e1cc8732f1ac932e5ab0b63613b5fa9271f7229a
2024-04-21 11:14:49 +00:00
Egor Ushakov
469ddd9163
[debugger] async stack traces for coroutines prototype
...
GitOrigin-RevId: 19a5ff971b57b521b9ca217733c36e1841fe2e45
2024-04-21 11:14:49 +00:00
Egor Ushakov
d11556f9f4
[kotlin debugger] do not replace the whole coroutine stack with async, only replace the required parts p.2
...
GitOrigin-RevId: d92703d11d022548f36bfc29493d8d8d68427db1
2024-04-21 11:14:49 +00:00
Egor Ushakov
2a749b733a
[kotlin debugger] do not replace the whole coroutine stack with async, only replace the required parts
...
GitOrigin-RevId: 8748e30421545e44464f3dd490ba87d85911744a
2024-04-21 11:14:49 +00:00
Vladimir Parfinenko
5033c2c10d
[debugger] fix for multi-line expression-lambdas, IDEA-351796
...
10: run(() ->
11: foo()
12: .bar()
13: .baz());
getFirstElementOnTheLine(<lambda>, 13) now returns <.baz()...>
but previously it returned <foo()...>.
^IDEA-351796 fixed
GitOrigin-RevId: e42f22d04a5351014c3af0633321b83af8df9b79
2024-04-19 19:21:39 +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
Gregory.Shrago
22b0cef9f5
introduce DefaultActionGroup.getChildren(actionManager) 2
...
GitOrigin-RevId: 219817e5e59b3a2e37373081ce45942fc7a7fc09
2024-04-17 19:52:48 +00:00
Alexey Merkulov
a51514dbe2
[debugger] Fix focusing into debugger view
...
It seems SuspendContextImpl must expose its event set after suspend-thread to suspend-all context switching. Without it, there will not be a proper focus after breakpoint.
GitOrigin-RevId: 2bd20aec302ce018333e0acf4e83825ec8c9e672
2024-04-17 18:18:36 +00:00
Dmitry Pogrebnoy
068b62c90d
IDEBIS-32 Update deadline date
...
GitOrigin-RevId: e33e48eb3202e5617c19d8a8333143822b49b920
2024-04-17 17:56:45 +00:00
Dmitry Pogrebnoy
01c9773aa0
IDEBIS-32 Update release version and deadline date
...
GitOrigin-RevId: c6f9f091f5f2479ed80835ecb51ec24d119fc982
2024-04-17 17:56:41 +00:00
Maksim Zuev
956fc54bee
[debugger] IDEA-351996 Fix time measurement for breakpoint install
...
`breakpoint.install.search.overhead` understated due to `callbackOnPrepareClasses` call skipped from measurement
GitOrigin-RevId: 408c73fd8097a5a880aac98a99fb983305fc33e2
2024-04-17 17:31:44 +00:00
Dmitry Pogrebnoy
b600dab5d4
IDEBIS-32 Kotlin Debugger survey
...
IJ-CR-131023
GitOrigin-RevId: cd6ccfbf36f3c505b2ef7ab0338fccc977ef67d1
2024-04-17 16:19:26 +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
Alexey Merkulov
68f91e6e3d
[debugger] Optimize synchronous packets number for the firstly-suspend-thread mode
...
GitOrigin-RevId: 9df3f2256445a3d6de8ca2510b68bec803f17739
2024-04-16 20:08:49 +00:00
Alexey Merkulov
c5d47a6f55
[debugger] All breakpoints should be suspended in suspend-thread mode before switching to suspend-all mode
...
The change is under the registry now. It would fix a lot of problems with filtering, conditional break-points and so on, e.g. IDEA-349297
GitOrigin-RevId: a5b0e0090254f4ebd1d4355aa616bd6221993934
2024-04-16 20:08:44 +00:00
Alexey Merkulov
200ef50b9a
[debugger] Refactoring in Run-To-Cursor breakpoint suspend policy management
...
GitOrigin-RevId: cb1760d7bc134eaffd0a4160073a508f6e1d67e1
2024-04-16 20:08:39 +00:00
Alexey Merkulov
eaaf85d6bd
[debugger] IDEA-351891 Fix a couple of cases when the event thread should be used instead of the selected one
...
IJ-CR-129700
GitOrigin-RevId: 10a43044fb5d92948cbad31866a0129fadbaa2f5
2024-04-16 19:15:00 +00:00
Alexey Merkulov
7b8d88f70e
[debugger] IDEA-351117 Improve fix for evaluating in thread without evaluation permitted
...
GitOrigin-RevId: 5121358b485264a8ae399a83ce40edad85b8ce2d
2024-04-15 19:54:00 +00:00
Alexey Merkulov
bd200b5e34
[debugger] Fix invalid resumed threads (in suspend-all contexts) processing
...
It should fix problems with parallel evaluating in different threads
GitOrigin-RevId: d91fa2e81d88fc51ddd09ac95f7fd40338195134
2024-04-15 18:45:11 +00:00
Egor Ushakov
ad57864922
IDEA-287729 “Emulated methods breakpoints” dialog refuses to cancel
...
GitOrigin-RevId: 174a5a243e058b040e6c74fb5345678ec8098be4
2024-04-15 16:55:50 +00:00
Vladimir Parfinenko
fe32eefb6e
[kotlin debugger] show inline value of it variable next to nearest occurrence, IDEA-351220
...
^IDEA-351220 fixed
GitOrigin-RevId: 893c72070f1ea4b50c4ef95d53b8160a7f795123
2024-04-15 14:12:19 +00:00
Alexey Merkulov
1b8193aed0
[debugger] IDEA-351117 Fix evaluation on thread incompatible with evaluation
...
After evaluation failed with IncompatibleThreadStateException exception, the debugger marks that thread as incompatible with evaluation and redirects all evaluations to the primary thread (which is likely in the good state). It will cover most of the rendering problems but may produce some confusion if the evaluating expression relays on some TheadLocal or Thread.currentThread(). So it would be nice to add some notification about another-thread evaluation state.
GitOrigin-RevId: b5d0df97c48ef8026da221a245cded12068d461d
2024-04-11 21:54:14 +00:00
Bart van Helvert
17e76c3f15
[platform] Add collector for measuring time spent in program runner
...
#IDEA-344147
GitOrigin-RevId: 5d00fee390ea8c129488c0f4fcbbb502b17ccbd7
2024-04-10 11:15:59 +00:00
Egor Ushakov
1eb4b060f7
EA-722266 - T: DirectoryIndexImpl.getInfoForFile
...
GitOrigin-RevId: 24704f1720f228539c6769123040de09ad503c46
2024-04-09 16:47:20 +00:00
Alexey Belkov
c31c206162
Apply Kotlin inspection "Move lambda argument out of parentheses" in some places
...
Mostly in simple cases like stdlib function calls
that don't affect readability.
GitOrigin-RevId: 535eab65931e4af5beaa7a2c12b7e501d320f35b
2024-04-09 16:36:04 +00:00
Alexey Merkulov
812fe3f28a
[debugger] IDEA-350602 Remove assertion: suspend-thread context can point to another thread while stepping in it
...
Suppose, two threads (A and B) in suspend-thread mode are suspended and stepping performed in one of them (A). To avoid context switch, the debugger sets active execution stack in the context of the other suspended thread (B) to the thead performed stepping (A). So the removed assertion was not correct in this situation.
GitOrigin-RevId: 684f73090982ceee6adc17227aa85326a4946805
2024-04-09 15:34:05 +00:00
Egor Ushakov
a4073ca22e
EA-433577 - T: DebugProcessImpl.lambda$getAutoRendererAsync$0
...
GitOrigin-RevId: 9db0f6cfc25d8ffff8a05375813b8fb8b9ea6534
2024-04-04 12:14:31 +00:00
Egor Ushakov
35d7a83041
IDEA-338861 Collect statistics for skipped breakpoints
...
Merge-request: IJ-MR-129811
Merged-by: Egor Ushakov <Egor.Ushakov@jetbrains.com >
GitOrigin-RevId: d79fd5e5cbf1fef3f1ffa93dff48c5502f55aaf0
2024-04-04 09:48:40 +00:00
Egor Ushakov
f2d0a225d9
IDEA-349487 Implement in-IDE survey trigger for the Kotlin Debugger users
...
Merge-request: IJ-MR-129545
GitOrigin-RevId: 96b4443a3f593a2fd853ede503726f18e81f30a0
2024-04-03 15:34:53 +00:00
Egor Ushakov
ef1ea8af96
IDEA-349911 One-line renderer for arrays in debug
...
GitOrigin-RevId: 6e0481f187a20686876f1beec42bf3c6902d007a
2024-04-03 14:30:51 +00:00