Commit Graph

540 Commits

Author SHA1 Message Date
Egor Eliseev
786d591b05 PY-83152 Cannot stop the Remote Debug Server in PyCharm 2025.2
Merge-request: IJ-MR-172033
Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com>

(cherry picked from commit 76119033bb39c96d4fc1568d3c222bbfd76cd553)

IJ-MR-172033

GitOrigin-RevId: 634ef39ba3ba60ad2282626c676953beca12aea6
2025-08-18 12:58:16 +00:00
ekaterina.itsenko
c78691ecbe [pycharm] PY-23411 Debugger: remove deprecated function call and remove odd try-catch
(cherry picked from commit cab5e6d437ddad26c75dd701b102f4cb61780614)

GitOrigin-RevId: 55a1703af2bd4cbe9572e8b90b4f8639a82ff944
2025-07-18 12:28:25 +00:00
ekaterina.itsenko
6f917edcd9 [pycharm] PY-23411 Debugger: registry; change "get" to "is" call
(cherry picked from commit ef7663ba0e36c89263c02e61c52112ffa88c20f6)

GitOrigin-RevId: f1206c60bf1d299715251f2275cebcfd8dce993a
2025-07-18 12:28:25 +00:00
ekaterina.itsenko
f7be750310 [pycharm] PY-82189 Debugger: fix the issue
Merge-request: IJ-MR-168650
Merged-by: Ekaterina Itsenko <ekaterina.itsenko@jetbrains.com>
(cherry picked from commit f593e9b96d9208dbcb921118d7315635784fdbc5)

GitOrigin-RevId: cee35f7bc9de62708ab1388fa5c5b1091148a744
2025-07-18 12:28:25 +00:00
ekaterina.itsenko
4fc8688f19 [pycharm] PY-82189 Debugger: fix the visibility issue with free mode
(cherry picked from commit de6e2b298605e38268a9c0087cc864b5a489e8f4)

GitOrigin-RevId: 35076a1edbd034d8ff2f474918b80a1158db0f2c
2025-07-18 12:28:24 +00:00
Egor Eliseev
dc428e32f4 PY-82241 Fix PythonDebuggerAggregatorEnvTest
Disable sys.monitoring from PyDB.stoptrace.
Disconnect DebuggerProcess if ServerSocket is closed.
Kill DebugProcessHandler if it is KillableProcessHandler.

Merge-request: IJ-MR-167442
Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com>
(cherry picked from commit f1a42ad9014d9e172bc994085f53e2123f9870c2)

GitOrigin-RevId: 7a7335ed4f83764e18390490999c06db9a35feb3
2025-07-02 07:22:22 +00:00
ekaterina.itsenko
0948645483 [pycharm] PY-80392 Debugger: add data type as a new field
Merge-request: IJ-MR-164102
Merged-by: Ekaterina Itsenko <ekaterina.itsenko@jetbrains.com>

GitOrigin-RevId: 7ac37c987ddd7cde6b0429eff3b0f7fd9d69fcd5
2025-06-05 23:01:02 +00:00
ekaterina.itsenko
2af589894c [pycharm] PY-80727 Debugger: fix the visibility check
GitOrigin-RevId: 5fa2c4c06e7c7c8f613db2c7a4c76920e461c181
2025-05-23 15:45:07 +00:00
ekaterina.itsenko
f9499f9bd0 [pycharm] PY-80835 PY-81089 Debugger: move cursor and add data type
Merge-request: IJ-MR-162745
Merged-by: Ekaterina Itsenko <ekaterina.itsenko@jetbrains.com>

GitOrigin-RevId: 4481d3e22b0c597c5d72eff21100feb94182977c
2025-05-15 22:31:16 +00:00
ekaterina.itsenko
4ea359894b [pycharm] PY-79461 PY-79531 Debugger: load data in chunks
GitOrigin-RevId: 0e557f905cfafca704266d3a4cbacfe60820cd57
2025-05-02 22:53:47 +00:00
Vladimir.Koshelev
67594cdaad [pycharm] finish community migration to v2
# Conflicts:
#	community/python/pluginCore/resources/META-INF/plugin.xml

GitOrigin-RevId: e4d6969fd15a3fddc4d6a03491fb9f9634285edf
2025-04-30 10:08:56 +00:00
ekaterina.itsenko
bc76c42ae6 [pycharm] PY-79803 Debugger: disable the button in case of jupyter frame accessor
GitOrigin-RevId: f092bc6669686617ff4ed73fa0592344aab8e222
2025-04-16 00:52:29 +00:00
Natalia.Murycheva
3b94525ad4 [PyCharm Tables] PY-75205 Correctly parse column names in wide tables #PY-75205 Fixed
* Resolved an issue where column names were incorrectly parsed due to trimming in wide tables.
* Removed the previous fallback mechanism that issued an extra request to the Python backend for the wide tables' case as:
    * 1 additional request was insufficient for handling all wide table cases
    * It also introduced significant performance overhead, as an additional request was sent for every wide table after each cell execution.
* Currently, we provide columns names' completion for wide tables only for the subset of columns returned by get_frame.

GitOrigin-RevId: 12f7127068c5b56f1b82b26c95b10cf7461d77c7
2025-04-15 23:42:54 +00:00
ekaterina.itsenko
1f5bc552ad Inline button for view as image
[pycharm] PY-79803 Debugger: add button

Merge-request: IJ-MR-160372
Merged-by: Ekaterina Itsenko <ekaterina.itsenko@jetbrains.com>

GitOrigin-RevId: e2900c27343967e61033554e12cca97a0cc78e61
2025-04-15 17:23:34 +00:00
Natalia.Murycheva
5bc8a9e6f0 [Jupyter Debugger] PY-63031 The cython installation prompt keeps popping up every debugging attempt
* Added the platform-based action "Don't show again" for the corresponding notification. If this action is invoked, the notification really won't show again.
* Moved the documentation action to the Notification's content to have only 2 actions on this notification card.
* Fixed capitalization in the notification title

GitOrigin-RevId: ec3cb02776c1c4edb1e42a60ce49eca4848a8371
2025-04-07 22:49:05 +00:00
Olga.Lavrichenko
6b6ca6af59 DS-6900 Added condition that we try to extract pyDebug value with DataFrame only
GitOrigin-RevId: e2530591c84bb24e5132422f30720c24e86710a1
2025-04-03 18:59:20 +00:00
Egor Eliseev
bc8ecda30a PY-78884 Linux in Docker for PyCharm config PyEnvTestsDebugger
1. Do MultiProcessDebugger disconnect method synchronized.
2. Remove `getProcessHandler().waitFor()` from `PyDebugProcess#detachDebuggedProcess` (deadlock).
3. Add `kwargs` for `pydev_monkey#create_warn_multiproc` (new args in Python 3.13).
4. Ignore `BrokenPipeError` in `NetCommand#send` (could happen after debugging stops).
5. Handle `FrameLocalsProxy` (a new class for frame locals in Python 3.13)
6. Handle exceptions in all callbacks functions (PEP669)
7. Handle new bytecode instruction `CALL_KW` (Python 3.13 smart stem into)


Merge-request: IJ-MR-159198
Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com>

GitOrigin-RevId: bae3df0980c231aea2ea4518ac0eed42959c989d
2025-04-03 11:02:02 +00:00
Vladimir Krivosheev
5d47ba2950 do not add opt-in com.intellij.openapi.util.IntellijInternalApi for the whole monorepo (part 2)
GitOrigin-RevId: e4647db9b386df84fe54d8eeeba2f617d18c2e54
2025-03-28 18:14:38 +00:00
Natalia.Murycheva
dd5ae0e688 PY-75205 code completion for column names doesn't work with large datasets. #PY-75205 Fixed
* In case we were unable to parse the column names from the standard result of the getFrameVars command, we make the second attempt to get the column names - an additional request specialized for dataframes data retrieval.

GitOrigin-RevId: ec0b807117934b804daeb44cd7d653a566418f0f
2025-02-25 23:54:28 +00:00
David Lysenko
d61687f0f6 [pycharm] PY-38965 Add debugger response timeout setting
GitOrigin-RevId: 9356bdfb3e7f72e9a6d93391989e68cfc0272e0f
2025-02-11 13:23:37 +00:00
Leonid Shalupov
e4e5753846 housekeeping: remove unused imports
GitOrigin-RevId: ccba6d05260f5eb551ffa87e0d8a38dc93148a3a
2025-02-04 11:00:15 +00:00
ekaterina.itsenko
0472b2eb67 [pycharm] PY-78611 Debugger: fix rebase
GitOrigin-RevId: 66740945f899937b0a9f6764a97cf2966f2751c9
2025-02-03 01:36:29 +00:00
ekaterina.itsenko
09b3fbf1b8 [pycharm] PY-78611 Debugger: fix review comments (pt.2)
GitOrigin-RevId: 25665c6b6447019582a2c12121d776da52bdbc73
2025-02-03 01:36:29 +00:00
ekaterina.itsenko
ba781919d1 [pycharm] PY-31070 Tables (Jupyter, DataView): Implement support of rec.arrays + fix headings displaying issue
GitOrigin-RevId: 11e2459a876bab393e4da04bcba47c9fd6345ba3
2025-01-29 10:37:58 +00:00
ekaterina.itsenko
1935f2ea90 [pycharm] PY-78015 Debugger: Implement support of NumPy arrays
Merge-request: IJ-MR-151198
Merged-by: Ekaterina Itsenko <ekaterina.itsenko@jetbrains.com>

GitOrigin-RevId: c7fa78f98e1971313d1ad37ffcf205f7acec378e
2025-01-18 01:37:10 +00:00
Vladimir Krivosheev
25233df1b1 cleanup - isEmpty
GitOrigin-RevId: 100d69abb6a423556574a72e82508fdb8f5d7fa3
2024-12-27 14:41:14 +00:00
Vladimir Krivosheev
68d99c6550 cleanup
GitOrigin-RevId: 9cb238c220249088bfc75a448eb310b93c7fc45c
2024-12-26 14:56:01 +00:00
Aleksandr Sorotskii
03c4f60e7a bump reconnect params for debugger; PY-76400
GitOrigin-RevId: 9e4ea9e5832773fc78132d0ab40c9a9b879e84d0
2024-11-11 14:52:09 +00:00
Aleksandr Sorotskii
060221361f Make debugger connection params customizable via registry; PY-76400
Merge-request: IJ-MR-148080
Merged-by: Aleksandr Sorotskii <aleksandr.sorotskii@jetbrains.com>

GitOrigin-RevId: 1ce2a48aebf3336199b12a79879f61af9e2bac7e
2024-10-30 13:16:12 +00:00
ekaterina.itsenko
2b3832d5a9 [pycharm] PY-72208 Tables(Jupyter, SciView): Add registry, refactoring
GitOrigin-RevId: 937c9127a008028ad63f0f2d04b14bf972dbcab0
2024-10-02 19:17:45 +00:00
Andrey Lisin
e85873223b IJ-CR-143143 Fixes after review
GitOrigin-RevId: e92672f9954e57a3115eca978d3589600ce072be
2024-09-29 20:09:16 +00:00
Ilya.Kazakevich
fe54db7b3c Python: Remove unused symbols
GitOrigin-RevId: ec2bd2dda3f215a6c318afa70adbccc8627bd586
2024-09-19 17:47:20 +00:00
Andrey Lisin
b1e1776977 Cleanup: make execute methods final; refine generic types
GitOrigin-RevId: 233b6084d227e4c5c84997058a9a6f5ddf47ec2d
2024-09-19 12:03:19 +00:00
Andrey Lisin
128109aa98 PY-73432 Refactoring: generalize type parameter
GitOrigin-RevId: a0e6af2cba15f20c01f307f0873b97b79a105136
2024-09-03 14:18:56 +00:00
Andrey Lisin
7f498ca2c8 PY-75515 Refactoring: move duplicated code to inner class
GitOrigin-RevId: b27150a87929cfdd271d8d6b4fd017d39df1dd61
2024-09-02 09:12:35 +00:00
Andrey Lisin
c5695b1efe PY-73432 Delete RecurrentTaskExecutor class and its tests due to deprecation
GitOrigin-RevId: 86dbdbefbb784a0f2d54ede8a5c244a19e944ac0
2024-08-29 12:13:31 +00:00
Andrey Lisin
27ae684901 PY-75515 Fix connection logic to debugger when IDE acts as debugger client
Implemented a retry mechanism to address situations where the debugger server socket may not be instantly available. Replaced `ScheduledExecutorService` with a single-thread executor for task execution in `ClientModeMultiProcessDebugger`, thereby reducing unnecessary "Connection to Python debugger failed" error messages.

GitOrigin-RevId: 2ea542680605ea960d0c94f421761c69a722f4d2
2024-08-28 16:05:01 +00:00
Andrey Lisin
ee07968f60 PY-73432 Deprecate RecurrentTaskExecutor and replace it with ScheduledExecutor
GitOrigin-RevId: b9641e844427b973f36d32a9aaa1bb93a552dc96
2024-08-27 14:44:28 +00:00
Natalia.Murycheva
fcec56d275 [PyCharm Tables] PY-65513 fixed NPE for format
GitOrigin-RevId: dc1f96177d8c230bb90474bbe818a9d75a3558fc
2024-08-13 14:32:03 +00:00
Natalia.Murycheva
6efdf9aa56 [PyCharm Tables] PY-65513 added Python-based formatting for tables in Data View
* supported formatting for float values
* polars is not supported at this moment

GitOrigin-RevId: cbca954fab3a2c08120eae746f34d47bc45550f5
2024-08-06 21:02:32 +00:00
ekaterina.itsenko
5a5671d785 [pycharm] PY-48714 PY-70538 PY-73919 Fix error in debug mode
GitOrigin-RevId: 1d4932b22a574c4b9f6fce3df180986e4f9c08ec
2024-07-23 13:20:27 +00:00
ekaterina.itsenko
fdb0da5997 [PyCharm] PY-73919 Scientific View(fix): Fix "view as" -- action
GitOrigin-RevId: 5382c820fab1bc703ea96cca68c1a5120ed84cc2
2024-07-16 20:58:28 +00:00
ekaterina.itsenko
2fc8ea1630 [pycharm] PY-71967 Add impl (except sorting in outputs -- to fix)
GitOrigin-RevId: ac079eefe71d7b32daa5e95eaef9c986ab842294
2024-06-24 20:29:15 +00:00
Natalia.Murycheva
238ebb61de PY-72210 DataView: improve speed of get_value_occurrences_count
1. Split additional computation for statistics and computation for visualizations
2. Computation for visualization is now called only by request

GitOrigin-RevId: d872fbd9ed5732633814228713acc734ee2043e5
2024-06-14 23:47:08 +00:00
ekaterina.itsenko
1693fd94b9 [pycharm] PY-38294 Add Sparse tensors support
GitOrigin-RevId: 0b9b046ae1da37b5fd34be800fbdd6f241f7514d
2024-06-11 14:59:03 +00:00
Ilya Muradyan
233d17a1df KTNB-235, PY-64586: Refactor DSTableCommandExecutor, remove dependencies on pydev that no more needed
GitOrigin-RevId: b53d3669841e36c8bf3bd092ceaa3e8de6e5b9ea
2024-06-07 18:55:29 +00:00
ekaterina.itsenko
07668b70e3 [pycharm] PY-40977 Fixes in expression building: NestedOrderedDict case
GitOrigin-RevId: 3cd93d74ab5b98063034e646a021350033308da4
2024-06-07 04:29:28 +00:00
Nikita Pavlenko
3f6407f38f [pycharm] DataView (fix): Moved invasive module intellij.notebooks.tables to a proper place. Dependencies cleanup. #CPP-38829 Fixed
GitOrigin-RevId: 2b9226d765d8242d3eb37248b9542145a632f8c5
2024-05-21 17:43:23 +00:00
Ilya Muradyan
36ec2d65b0 KTNB-235, PY-64586: Split intellij.python.jupyter.tables and intellij.python.pydev
GitOrigin-RevId: e417ef93a7ad78672df99631f3053fe36b8c681b
2024-05-12 11:15:23 +00:00
ekaterina.itsenko
650c59819e [pycharm] PY-38294 Scientific view(task): "View as array" functionality for tensors
GitOrigin-RevId: 2320c5904609b2357dd860786ac7b89b96b3878c
2024-04-24 11:57:26 +00:00