62 Commits

Author SHA1 Message Date
Artem Mukhin
1399738e7f PY-48037 Use Visual Studio 2017 to build Attach to process binaries
GitOrigin-RevId: a149af8f7c8aabe1a1098a4761b87c0d7eca0438
2023-07-03 19:12:32 +00:00
Artem Mukhin
2126b90d27 PY-48037 Reintroduce PyObject_FastCallDict fix after merge
Initially introduced in 6f7d0acd15838d270a78f8391aa4ca9a824d4ae6

GitOrigin-RevId: 0af72d5875ba1464efa0af01bbfb3a57f2d90813
2023-07-03 19:12:32 +00:00
Artem Mukhin
bc6a21eaa9 PY-48037 Reintroduce ARM architectures support after merge
Initially introduced in 51cdf976eaf5580218cf6026849e4da51c9370e6

GitOrigin-RevId: 024b51b49ccfacc29c39dadf785ad183dddb0799
2023-07-03 19:12:31 +00:00
Artem Mukhin
52e6ffff25 PY-48037 Merge Attach to process updates from PyDev to support Python 3.10 and 3.11 on Windows
Manually picked from PyDev revision `26864816cbfcf002a99913bcc31ebef48042a4ac`.

Notable changes:

* Inject DLL to Python process fa163ccc2d
* Support for Python 3.10 bdec612183
* Support for Python 3.11 8ab57600de

GitOrigin-RevId: 720414ca39573b3f8b4b9e1b5b72f33eb024ccc1
2023-07-03 19:12:31 +00:00
Artem Mukhin
30854e04f7 PY-60585 Add shebangs to Attach to process build scripts
GitOrigin-RevId: 3e5f396d030a9474b403dd5f024b47529c5400e3
2023-05-10 09:52:11 +00:00
Artem Mukhin
3576c2f5dd PY-48163: Fix "_PyObject_FastCallDict not found" error when attaching to Python 3.9 process
Since Python 3.9, `_PyObject_FastCallDict` is deprecated in favour of `PyObject_VectorcallDict`.

This commit is a corrected version of the corresponding change in the upstream PyDev: bdec612183

GitOrigin-RevId: 6f7d0acd15838d270a78f8391aa4ca9a824d4ae6
2023-05-09 15:10:11 +00:00
Artem Mukhin
2e7109f6fe PY-44191 PY-48163 Provide Attach to process binary for Linux AArch64 and universal binary for macOS
Now we use the following binaries for `Attach to process`:

Windows:
- `attach_amd64.dll`
- `attach_x86.dll`
(no changes in this commit, no ARM64 support)

Linux:
- `attach_linux_amd64.so`
- `attach_linux_x86.so`
- `attach_linux_aarch64.so`
(the last one was added)

macOS:
- `attach.dylib`
(universal binary containing both arm64 and x86_64 code)

Note, `attach_x86.dylib` was removed and was not merged into the universal binary because Apple dropped support for 32-bit apps in macOS Catalina (10.15). However, there is still obsolete code for macOS i386 in the `pydev` module that should be dropped in the future

GitOrigin-RevId: 51cdf976eaf5580218cf6026849e4da51c9370e6
2023-03-09 13:51:11 +00:00
Artem Mukhin
fa5da183f5 PY-44191 PY-48163 Provide Attach to process binaries for macOS arm64
GitOrigin-RevId: 98b295903ce103fa9a7e02f4646b5e289d86e5f5
2023-03-06 10:45:30 +00:00
Andrey Lisin
26fef48028 PyDev: Updated Linux binaries (PY-45084)
(cherry picked from commit 6be4c2cfd9efefa5cf21feaa0226a0066dc1c27b)

IJ-CR-13242

GitOrigin-RevId: c5161e46c879581290d349ea6316ced8f24214b3
2021-08-25 08:59:16 +00:00
Andrey Lisin
36c27a4d0d PyDev: Updated Mac binaries (PY-45084)
(cherry picked from commit 17b60e1cfce2ab91149e1ebf4cbcd651a53bd13d)

IJ-CR-13242

GitOrigin-RevId: 6dfcfb50f779bb6715f2c6cdefeff1935a516085
2021-08-25 08:59:15 +00:00
Andrey Lisin
f85d0c47a5 PyDev: Update windows binaries for attach to process. (PY-45084)
(cherry picked from commit 55b503f931d886fe2d39a862c81d4a92bc7b6d68)

IJ-CR-13242

GitOrigin-RevId: 25a5742ceaada22a983e722e8e4a58d56da00d9e
2021-08-25 08:59:15 +00:00
Andrey Lisin
d005ff67d3 PyDev: Add PyThreadState for Python 3.9 (PY-45084)
(cherry picked from commit f12d261501e60c003187b7bbf8bb20737b796187)

IJ-CR-13242

GitOrigin-RevId: fa3bafa6004d9e6aa901f619b4cee9927b45f30b
2021-08-25 08:59:13 +00:00
Dylan Brodie Fafard
65d5033d34 PY-49617 #pr1608 Skip searching for symbols when starting up gdb (IDEA-CR-71744)
GitOrigin-RevId: ee71873626fd5ede48742b41ed185146fb46c238
2021-07-12 13:42:20 +00:00
Dylan Brodie Fafard
d23afc16e1 PY-49647 #pr1580 Cast return of dlopen call in case debug symbols are missing
GitOrigin-RevId: 97d6d8623cf802da654af99cfbe27f8bfe0990d2
2021-07-08 12:44:26 +00:00
Andrey Lisin
c80919c9ff PY-44778 Fix suspension on breakpoints when attaching to Maya embedded Python interpreter
(cherry picked from commit 6103f79a9af739e827ba4d3ac3cc73d86f490e2d)

IDEA-CR-71546

GitOrigin-RevId: adff643a1dbe32c2af576da91c23a8f4f52ceedf
2021-06-08 11:51:29 +00:00
Anna Kozlova
ebf97ab3ba java records: forbid to extract superclass
GitOrigin-RevId: b7f4b4b503e96b32373fa0b371a8454884219cdd
2020-11-03 19:14:10 +00:00
Andrey Lisin
53bd8c07e5 IDEA-CR-60027: PY-39307 Add pydevd_attach_to_process to packages to ensure it will be installed in the right place
(cherry picked from commit d9e435a799225665126e97bdf92db042106fe83d)

GitOrigin-RevId: 84e4059285e63e6bf3c7868b7046bb476ae6069b
2020-03-17 20:53:55 +00:00
Andrey Lisin
73d20cd1cd PY-38704 Backport attach to process updates from PyDev
(cherry picked from commit 11777e3e2639202817fa70d8453fed50720845ce)

GitOrigin-RevId: 2ae85368c63f1a282c4358d8610a5724767871a2
2019-11-11 10:32:50 +00:00
Andrey Lisin
1953f3d178 PyDev: Support attach to pid with Python 3.7 (PY-32021)
GitOrigin-RevId: bc1b03e81fbacb18f07924e3099edd7263fffce2
2019-07-04 15:03:18 +03:00
Rustam Vishnyakov
123242c4b2 EditorConfig documentation test
GitOrigin-RevId: fd52ace3d7a32ecd02c2c5ab90e077967604c15e
2019-06-16 04:03:21 +03:00
Egor Zhdan
c1813cfb52 Cleanup: NotNull/Nullable
GitOrigin-RevId: b8e892f32ea84c2115973155dba7127b892cc36e
2019-06-16 04:02:08 +03:00
Anna Kozlova
91f7445298 constructor reference: don't ignore constructor parameters during method reference inference (IDEA-185578)
GitOrigin-RevId: e836468e05db28157713e9edd3c70382f8ecdebc
2019-06-13 03:15:49 +03:00
Egor Zhdan
39d2d77155 Cleanup: NotNull/Nullable
GitOrigin-RevId: b8e892f32ea84c2115973155dba7127b892cc36e
2019-06-13 03:14:35 +03:00
Julia Beliaeva
3fee046d20 [vcs-log] cleanup RootCellRenderer
GitOrigin-RevId: bba216626193ac756cd133b8ae9bc4e577abea42
2019-06-10 04:10:14 +03:00
Eldar Abusalimov
dcaeb8f8c7 OC-4061: ApplicationUtil: Make runWithCheckCanceled() return result
GitOrigin-RevId: 3aa9f23cc5097e644eddf82a4faca669759b4760
2019-06-10 04:09:35 +03:00
Elizaveta Shashkova
34121b013e PyDev fixes: update "Attach to Process" binaries
GitOrigin-RevId: 06248817a81b86341364e5401c6ec07220620c48
2019-06-07 18:32:39 +03:00
Andrey Lisin
4ee63bea11 PyDev fixes: update attach to process C files. Regenerate macOS binary
GitOrigin-RevId: f1c1e99feaeea7463a0538514899b27dff837e85
2019-06-07 18:28:33 +03:00
Andrey Lisin
7ccc0001e8 PyDev fixes: delete attach to process binaries
GitOrigin-RevId: f662c1d3bbf07140fb5b0eb7f57b5aea8e33ecb6
2019-06-07 18:28:02 +03:00
Elizaveta Shashkova
5783a4fc73 PyDev fixes: Attach to process: update windows binaries (PY-33336)
GitOrigin-RevId: e03396d0c9bd7bcfe99f7157eec046a0627dcb51
2019-06-07 18:23:57 +03:00
Elizaveta Shashkova
fb874f52a6 PyDev fixes: Attach to process: update linux binary and remove outdated Windows binary (PY-33336)
GitOrigin-RevId: 3b8286f01563762f21db9ca68091b07e10daeb56
2019-06-07 18:23:26 +03:00
Elizaveta Shashkova
635830262a PyDev: Do not attempt to convert --host argument to int
GitOrigin-RevId: fe944d66b43ed9d4deba48e3d57c3af74c022785
2019-06-07 18:09:08 +03:00
Andrey Lisin
f59b8a1173 PY-30064 Fix attach to local process on Ubuntu 2019-02-25 13:19:25 +03:00
Elizaveta Shashkova
2ad70f910d PY-27650 Create a pip package consistent with PyCharm updates 2018-12-04 15:18:32 +03:00
Elizaveta Shashkova
6c0052678d Hide verbose output from "Attach to process" action (PY-24754) 2017-06-21 16:03:54 +03:00
Elizaveta Shashkova
ddec342696 Update macOS binaries for attaching to process (PY-17986) 2017-06-20 14:28:36 +03:00
Elizaveta Shashkova
232f814937 Fix incorrect path in Attach to process and rebuild binaries for Windows and Linux (PY-17986) 2017-06-20 14:28:33 +03:00
Elizaveta Shashkova
f697c598fb Fix Attach to process with Python 3 on Windows (taken from PyDev) (PY-17986) 2017-06-20 14:28:30 +03:00
Elizaveta Shashkova
d6e8ff2e92 Updates from PyDev.Debugger: 1.0.0 release (PY-22904) 2017-03-09 15:20:47 +03:00
Elizaveta Shashkova
73fb365ca8 Updates from PyDev: Removing un-nedded auto declaration (patch from scela). 2016-03-23 12:39:54 +03:00
Dmitry Trofimov
86f04a02bc Updated Windows binaries for attach to Python process (PY-17986) 2016-03-01 03:45:44 +01:00
Dmitry Trofimov
eee06d01fe Updated Linux binaries for Attach to Python process 2016-03-01 02:52:37 +01:00
Dmitry Trofimov
5876db3427 Fix 'pydevd_tracing' module import in attach to Python process C-code (+OSX binaries) 2016-03-01 02:32:14 +01:00
Elizaveta Shashkova
3af189142f Changes from PyDev debugger 2016-02-04 18:51:54 +03:00
Dmitry Trofimov
0c81c8d133 Redirect output by default. 2014-12-10 23:03:02 +01:00
Dmitry Trofimov
aeadf39465 Print stack traces in debug output. 2014-11-03 17:57:39 +01:00
Dmitry Trofimov
7ab8190d5b Print lldb debug output in one line. 2014-11-03 17:54:57 +01:00
Dmitry Trofimov
c6d08c9394 Detach lldb and quit after setting the tracing. 2014-11-03 17:50:57 +01:00
Dmitry Trofimov
abe6a660b9 lldb: step-over __select before execution in threads 2014-11-03 17:40:42 +01:00
Dmitry Trofimov
e549947167 Perform initial settrace also with timeout. 2014-10-30 22:02:45 +01:00
Dmitry Trofimov
9967d14a10 Use timeout for lldb expr eval (PY-14252). 2014-10-30 02:28:15 +01:00