Rich Chiodo
f7d5df027c
Get Python 3.13 to work ( #1692 )
...
* Get debug launch working
* Turn Cython support back on
* Fix test failures
* Fix gevent test to be skipped
* Missed a version change in pipeline
* Fix comment
* Review feedback
2024-10-10 09:03:34 -07:00
Rich Chiodo
25955a05d8
Get debug attach to work for 3.12 ( #1683 )
...
* Get debug attach to work for 3.12
* Skip flakey test and update binaries
* Fix the skip if to work correctly
2024-09-24 09:55:36 -07:00
Rich Chiodo
ae6812bdac
Pull in pydevd sys.monitoring support ( #1680 )
...
This is pulling in @fabioz's latest changes for sys.monitoring and then fixing up any issues found with the debugpy tests.
A lot of the changes were made by Fabio since the latest pull from pydevd, so I also created this PR to compare what changes I made to Fabio's baseline:
rchiodo/PyDev.Debugger#1
Meaning you really only need to look at that other PR to see what changes I made. The rest of the changes here are from Fabio or ruff doing reformating.
After this goes through, we should have sys.monitoring support in debugpy. We can decide later if we want to implement our own support as @int19h started.
Fixes #1496
2024-09-23 11:22:54 -07:00
Adam Yoblick
bf4ce2b832
Fix bug in parser and fix unit test
2024-07-24 00:02:17 -05:00
Adam Yoblick
c5259c7e3f
Raise error if target is whitespace, fix test
2024-07-23 17:13:23 -05:00
Adam Yoblick
05709cfa10
remove logging no longer needed and fix a test
2024-07-23 16:29:01 -05:00
Adam Yoblick
da6a6482f1
fix broken yield
2024-07-22 18:15:29 -05:00
Adam Yoblick
382bc69a2b
save work
2024-07-22 17:54:01 -05:00
Adam Yoblick
e0f2a8be98
check in to save work
2024-07-17 18:23:37 -05:00
Adam Yoblick
5b9bfaf3a8
add tests for reading switches from the environment
2024-07-17 14:45:41 -05:00
Adam Yoblick
a0a6cfbf1f
Add tests for environment switches
2024-07-16 18:36:13 -05:00
Adam Yoblick
f31df56792
Make sure target is set after parsing both command line and environment. Add some tests.
2024-07-16 14:40:48 -05:00
Adam Yoblick
fb14d133d3
Make some existing tests more explicit with their asserts
2024-07-15 18:19:26 -05:00
Adam Yoblick
4ba9da6087
add env var parsing to cli. Current tests pass but I need to add new ones
2024-07-15 16:34:44 -05:00
Adam Yoblick
e58f228e92
Add retry for flaky tests, and remove 3.8 from tests
2024-07-10 17:38:20 -05:00
Adam Yoblick
df254f6aab
fix broken numpy assert for 3.8
2024-07-09 16:10:42 -05:00
Adam Yoblick
96e9f1e909
Fix numpy tests
2024-07-08 16:56:47 -05:00
Pavel Minaev
b9b09e662f
Fix #1408 : Can no longer expand Numpy arrays to view elements
...
Fix regression when loading pydevd plugins for numpy, pandas, and django.
Add smoke test for numpy arrays.
2023-12-15 00:14:23 -08:00
Pavel Minaev
ef9a67fe15
Fix #1337 : Get port info from debugpy
...
Send "debugpySockets" event with information about opened sockets when clients connect and whenever ports get opened or closed.
2023-10-06 09:55:52 -07:00
Adam Yoblick
9cc65eb123
disable this linter error
2023-09-19 15:29:18 -05:00
Pavel Minaev
6340818a0e
Enumerate installed packages & versions in the log as part of environment info.
2023-09-05 13:20:31 -07:00
Pavel Minaev
9997094101
Don't force-upgrade setuptools for test runs to avoid pkg_resources deprecation warning in gevent.
2023-09-05 13:20:31 -07:00
Pavel Minaev
88bf2c7827
Fix -Xfrozen_modules use in tests.
2023-08-28 13:14:39 -07:00
Pavel Minaev
83baa6d302
Fix -Xfrozen_modules warnings in test runs on Python 3.11 and 3.12
2023-08-17 11:00:07 -07:00
Pavel Minaev
12117683e7
Unpin greenlet in tests/requirements.txt
2023-08-16 14:58:54 -07:00
Pavel Minaev
d642538d7b
Don't assume column number to be 1, since this is no longer correct in Python 3.11.
2023-08-14 14:06:06 -07:00
Pavel Minaev
35504f83ed
Work around #1230
...
Look for more specific text in the output to avoid false positives.
2023-03-07 12:16:58 -08:00
Pavel Minaev
e9dc3e8844
Fix #1074 : Use "startDebugging" request for subprocesses
...
Use the request if client advertises the "supportsStartDebuggingRequest" capability.
2023-02-07 13:04:58 -08:00
Pavel Minaev
9fd3e72235
Disable PYDEVD_USE_FRAME_EVAL by default.
2023-01-19 13:14:35 -08:00
Fabio Zadrozny
c419d5a7fd
Don't stop on logpoints with conditions. Fixes #1146
2022-12-17 07:46:44 -03:00
Pavel Minaev
4067700ed8
Pin greenlet==1.1.3 in test dependencies due to #1126
2022-11-16 15:32:19 -08:00
Fabio Zadrozny
1d038201b3
Provide feedback/information in the debug console if attach to PID is slow. Fixes #1003
2022-10-17 07:05:09 -03:00
Fabio Zadrozny
349ff7337b
Show chained exception frames in stack. Fixes #1042
2022-09-26 15:21:40 -03:00
Fabio Zadrozny
61321253e7
Use pydevd.log_to in debugpy to enable pydevd logging given the usage of debugpy.log_to. Fixes #1030
2022-09-02 08:45:20 -03:00
Pavel Minaev
4f6638b0a6
Fix #1001 : Enable controlling shell expansion via "argsCanBeInterpretedByShell"
...
Fix #357 : "argsExpansion" does not do what it says in VSCode
Treat non-array "args" in debug config as a request to prevent shell argument escaping and allow shell expansion.
Remove "argsExpansion".
2022-08-04 13:49:32 -07:00
Pavel Minaev
5da7721d4d
Fix #975 : Properties parameter to the configure API has become required in 1.6.1
2022-07-07 14:08:20 -07:00
Pavel Minaev
0a9b01b008
Fix #865 : Debugging through poetry drops subprocess
...
Handle "exited" { "pydevdReason": "processReplaced" } appropriately.
Add test for os.exec() in-place process replacement.
2022-06-09 10:44:10 -07:00
Pavel Minaev
b46500c5dc
Mark test secrets as placeholders for CredScan compliance.
2022-05-25 14:11:38 -07:00
Pavel Minaev
f214dbb8b4
Remove unused imports.
2022-05-23 14:01:24 -07:00
Pavel Minaev
d2aa99f56d
Fix docstrings not exposed on public API.
2022-05-23 14:01:24 -07:00
Pavel Minaev
ccce63e112
Remove redundant test parameter.
2022-05-23 14:01:24 -07:00
Pavel Minaev
b0b8db12a5
Add test for wait_for_client.cancel()
2022-05-23 14:01:24 -07:00
giacomo
644c658e75
no need to use f-string
2022-05-02 00:16:19 -07:00
giacomo
a9a170bd63
re-format with black
2022-05-02 00:16:19 -07:00
giacomo
a9ea29ca22
add tests for string to nums conversion during json parsing
2022-05-02 00:16:19 -07:00
Pavel Minaev
729c02f866
Update timeline.md
2022-05-02 00:12:51 -07:00
Pavel Minaev
7623694856
Update timeline.md
2022-05-02 00:12:51 -07:00
Fabio Zadrozny
3d7499958c
Make errors with conditional breakpoints clearer. Fixes #893
2022-04-22 07:32:51 -03:00
Pavel Minaev
d1e5db7d8e
Use new-style super() everywhere.
2022-04-13 11:38:41 -07:00
Pavel Minaev
dd5196fbfc
Blacken code.
2022-04-13 11:38:41 -07:00