Rich Chiodo
73be8fb5df
Takes some changes from pydevd to fix line numbers being None ( #1734 )
...
* Add missing subrepo tools
* Update parent
* git subrepo commit (merge) src/debugpy/_vendored/pydevd
subrepo:
subdir: "src/debugpy/_vendored/pydevd"
merged: "c81fc701"
upstream:
origin: "https://github.com/fabioz/PyDev.Debugger.git "
branch: "main"
commit: "d0f81de4"
git-subrepo:
version: "0.4.9"
origin: "???"
commit: "???"
* Update sys_monitoring c file
* Try avoiding test errors on shutdown
* Try fixing case where closing early
* Run PRs everywhere
2024-11-14 16:22:19 -08:00
Rich Chiodo
3573ca0e2b
Remove compiled files ( #1723 )
2024-11-07 15:11:48 -08:00
Adam Yoblick
7d0ff33340
Merge pull request #1725 from microsoft/publish_pydevd_binaries
2024-11-07 15:02:49 -06:00
Adam Yoblick
af0d29f6bc
Missed some quotes
2024-11-07 10:07:15 -06:00
Adam Yoblick
cebb7475a3
Remove redundant double quotes
2024-11-07 10:06:43 -06:00
Adam Yoblick
2036f44606
Change job names in build matrix
2024-11-07 10:02:43 -06:00
Adam Yoblick
22fbc53ee3
Move lint and pydevd to their own stages
2024-11-07 09:53:16 -06:00
Adam Yoblick
37eaf86e1a
Copy downloaded binaries to the right place before running tests
2024-11-06 16:56:49 -06:00
Adam Yoblick
db63cd5bd1
build pydevd biniaries, publish them, and download them in later jobs
2024-11-06 16:47:11 -06:00
Adam Yoblick
abf4bb651a
Merge pull request #1722 from microsoft/build_pydevd_binaries
...
Build pydevd binaries before running tests
2024-11-05 14:25:29 -06:00
Adam Yoblick
1eb92e64b1
Fix bad paths
2024-11-05 13:33:38 -06:00
Adam Yoblick
8f2aed19da
Build pydevd binaries before running tests
2024-11-05 13:18:52 -06:00
Rich Chiodo
740fa9dd5a
In 3.12 findlinestarts seems to return None for line more often ( #1721 )
2024-11-04 11:19:37 -08:00
Adam Yoblick
6a7f7c0f2d
Merge pull request #1718 from microsoft/remove_pydevd_workflow
...
Remove pydevd workflow since we build these as part of CI now
2024-11-01 17:20:42 -05:00
Adam Yoblick
b028e5c039
Remove pydevd workflow since we build these as part of CI now
2024-10-31 16:55:06 -05:00
Rich Chiodo
064a78f9cb
Update instructions for pushing changes to PyDev.Debugger ( #1715 )
...
* Update instructions
* Update attach to process.yml
* Update binaries
2024-10-30 15:51:36 -07:00
Rich Chiodo
a7d5a7ec12
Use subrepo to link to PyDev.Debugger instead of copying it ( #1714 )
...
* Remove copy of pydevd and add subrepo script
* git subrepo clone https://github.com/fabioz/PyDev.Debugger.git src/debugpy/_vendored/pydevd
subrepo:
subdir: "src/debugpy/_vendored/pydevd"
merged: "7d6e6e68"
upstream:
origin: "https://github.com/fabioz/PyDev.Debugger.git "
branch: "main"
commit: "7d6e6e68"
git-subrepo:
version: "0.4.9"
origin: "???"
commit: "???"
* Add binskim settings to match debugpy
* git subrepo clone --force https://github.com/fabioz/PyDev.Debugger.git src/debugpy/_vendored/pydevd
subrepo:
subdir: "src/debugpy/_vendored/pydevd"
merged: "cf2e47cb"
upstream:
origin: "https://github.com/fabioz/PyDev.Debugger.git "
branch: "main"
commit: "cf2e47cb"
git-subrepo:
version: "0.4.9"
origin: "???"
commit: "???"
* Remove unnecessary string test by removing the lambda in pydevd_sys_monitoring
* Fix linter
* Put back the fix in qt_loaders
* Put back binskim flag
2024-10-29 13:32:30 -07:00
Rich Chiodo
8ab4ee89e9
Try to get more logging from 3.13 failures ( #1711 )
...
* Add more logging for 313 failure
* Auto retry failures
* Add retry for socket.write
* Put watchdog timeout back and drop errors
* Fix linter
* Add message on error so at least it's logged
* Try a different combination
* Fix linter
* Go back to longer watchdog
* Try a different tactic
* Don't log failure and wait a bit in the watchdog
* Go back to the NoMoreMessages
* Just disable watchdog in 3.13 for now
* Change watchdog timeout
* Try different algorithm for ports in use
* Add retries option
* Fix usages of get_test_server_port
* Retries don't seem to work at global level with xdist, use retries on individual tests
2024-10-24 11:08:42 -07:00
Sarkis Ter Martirosyan
e3c68e9ea9
Check for imp availability (due to removal in Python 3.12) and use importlib if necessary. ( #1569 )
2024-10-22 16:38:54 -07:00
Adam Yoblick
462d99aa8d
Merge pull request #1705 from microsoft/fix_binskim_warnings
...
Fix binskim warnings
2024-10-22 16:22:54 -05:00
Tim Felgentreff
d07f941e12
Support GraalPy ( #1704 )
...
Co-authored-by: Rich Chiodo false <rchiodo@microsoft.com>
2024-10-21 13:22:10 -07:00
Adam Yoblick
281d5057cc
Merge branch 'main' into fix_binskim_warnings
2024-10-21 13:12:58 -05:00
Rich Chiodo
4d86a42380
Updates from pydevd ( #1706 )
...
* Changes from pushing to pydevd
* Update some time outs to get flakey tests to pass
* Fix string failure
* String case backwards. Fixup test in pydevd
* Using callstack for exception check not sufficient
* Too restrictive on pydevd matching
* Try somethign better than just checking 'pydev'
* Retry a flakey test
* Disable flakey tests
* Another flakey test
* Increase timeout for attach
* Try upping timeout
* Up watchdog timeout
* Up some more timeouts
* Try delaying shutdown of test apps
* Don't output extra things that tests don't expect
* Fix output differences in 3.9? Not sure what that's about
* Fixup line differences in 3.9 with extra sleep
* Fix linter errors
* Fix breakpoint bugs
2024-10-21 10:17:39 -07:00
Adam Yoblick
23c5eb71ae
Add binaries generated by PR check
2024-10-16 13:11:15 -05:00
Adam Yoblick
00e6434e80
Fix binskim warnings
2024-10-16 12:44:02 -05:00
Heejae Chang
39879bdeea
added native debugging section ( #1696 )
2024-10-10 16:42:01 -07:00
Rich Chiodo
0116f9f65e
Update CONTRIBUTING.md ( #1695 )
2024-10-10 14:46:00 -07:00
Rich Chiodo
178a0f4158
Directions on how to debug pydevd ( #1694 )
...
* Directions on how to debug pydevd
* Review feedback
2024-10-10 14:12:13 -07:00
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
Othman El Hammouchi
a2f80817a1
Detect whether debugger is already running and skip connecting/listening in that case ( #1657 )
2024-08-27 13:02:25 -07:00
Rich Chiodo
fb6158a059
Update round-robin.yml ( #1653 )
2024-08-15 10:24:23 -07:00
Rich Chiodo
ddcb19353d
Add round-robin issue assigner ( #1650 )
...
* Add round-robin issue assigner
* Missed Adam
2024-08-07 15:03:46 -07:00
Adam Yoblick
a68a804f7a
Merge pull request #1646 from microsoft/remove_vendored_info
...
remove extra dist-info folder causing issues when uploading to pypi
2024-08-05 18:01:01 -05:00
Adam Yoblick
ae01f967e6
remove extra dist-info folder causing issues when uploading to pypi
2024-08-05 17:40:29 -05:00
Adam Yoblick
dc58df149f
Merge pull request #1549 from wmvanvliet/qt6
...
PyQt6 support
2024-07-31 14:46:58 -05:00
Adam Yoblick
7b3dfb808d
Merge pull request #1639 from microsoft/add_entry_point
...
Add debugpy entry point
2024-07-31 13:46:28 -05:00
Adam Yoblick
aaab993245
fix comments and remove unneeded logic
2024-07-26 17:37:33 -05:00
Adam Yoblick
1245e8e062
fix indent bug
2024-07-26 17:00:42 -05:00
Adam Yoblick
bcab469038
Allow the user to specify debugpy path via the environment
2024-07-26 16:08:51 -05:00
Adam Yoblick
820d21e384
Merge pull request #1624 from microsoft/extra_argv_envvar
...
Add parsing args from environment
2024-07-26 10:07:08 -05:00
Adam Yoblick
7abb9cc537
PR Feedback
2024-07-25 16:07:17 -05:00
Adam Yoblick
0274b12d5c
PR feedback
...
Co-authored-by: Karthik Nadig <kanadig@microsoft.com>
2024-07-25 16:02:50 -05:00
Adam Yoblick
6e7248f172
PR feedback
...
Co-authored-by: Karthik Nadig <kanadig@microsoft.com>
2024-07-25 16:02:21 -05:00
Adam Yoblick
853cc05f50
add debugpy entry point
2024-07-25 15:59:49 -05:00
Rich Chiodo false
afaee41ca9
Merge remote-tracking branch 'upstream/main' into qt6
2024-07-24 13:31:41 -07:00
Adam Yoblick
bf4ce2b832
Fix bug in parser and fix unit test
2024-07-24 00:02:17 -05:00
Adam Yoblick
e3bf7a9665
target might be a pid, so we can't use strip
2024-07-23 17:32:32 -05:00
Adam Yoblick
c5259c7e3f
Raise error if target is whitespace, fix test
2024-07-23 17:13:23 -05:00