Commit graph

25 commits

Author SHA1 Message Date
Rich Chiodo
e5017d7360
Fix arq quoting to work in runInTerminal (#1981)
Some checks failed
Code scanning - action / CodeQL-Build (push) Has been cancelled
* Fix arq quoting to work in runInTerminal

* Default was backwards

* Fix ruff errors

* Fix failing tests

* Only strip quotes on the exe

* Try fixing gw worker failures

* Skip certain test because of cmd limitations

* Need to skip all 'code' based tests on windows
2025-12-10 10:39:27 -08:00
Pavel Karateev
1e3fd91306
fix the link to Python extension in CONTRIBUTING.md (#1934)
Some checks are pending
Code scanning - action / CodeQL-Build (push) Waiting to run
2025-12-09 09:30:02 -08:00
Bill Schnurr
6cbdf8767e
update testing for python 3.14 (#1955)
Some checks failed
Code scanning - action / CodeQL-Build (push) Has been cancelled
* update testing for python 3.14

* Allow python 3.14 in attach code

* move 3.14 to its own job outside of matrix

* try 3.14.0-rc.2

* allowUnstable

* use 3.14.0-rc.2 but use 3.14 in tests
2025-09-05 09:14:53 -07:00
Jordan Borean
ea1dd9a838
Fix debugger stepping actions in forked process (#1921)
* Fix debugger stepping actions in forked process

Fix the debugger stepping state when debugging a process that has been
forked from the main process. The new sys.monitoring mechanism didn't
fully clear the thread local storage after a fork leading to a state
where the forked child process tracked the wrong thread information and
was never updated on the latest continue action.

* Add stepping test for forked process

* Add line ending back in for cleaner diff

* More formatting reversions
2025-07-08 10:47:47 -07:00
MichaelSpece
99b202ee21
microsoft/debugpy#1898 Fix. (#1899) 2025-05-27 09:34:57 -07:00
Rich Chiodo
40a471e24a
Fix matplotlib backend computation (#1811)
* Fix matplotlib backend computation and problem found with just my code fix

* Remove extra logging
2025-01-15 09:42:03 -08:00
Rich Chiodo
02723de140
Fix multithreading stepping in 3.12 and later (#1798)
* Fix multithreaded stepping to not have 'return' events when a thread is already suspended

* Update after removing blank line

* Remove unnecessary change for start method
2025-01-07 11:25:54 -08: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
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
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
a0a6cfbf1f Add tests for environment switches 2024-07-16 18:36:13 -05:00
Adam Yoblick
c77190f892 update docs 2024-07-16 14:51:37 -05:00
Adam Yoblick
1a9736bbe9 Update test docs 2024-07-16 14:41:00 -05:00
Rich Chiodo
cfe3fef401
Add a blurb about where to find logging directions (#1617) 2024-07-02 13:49:06 -07:00
chubei-oppen
78bbf8be83 Update CONTRIBUTING.md
The `debugAdapterPath` option should be set to `debugpy/src/debugpy/adapter`
2021-11-30 14:34:25 -08:00
Pavel Minaev
1de5526317 Rename master -> main. 2020-10-21 09:33:31 -07:00
Pavel Minaev
8b4c40e922 Rename ptvsd -> debugpy. 2020-01-17 11:57:13 -08:00
Pavel Minaev
8cca9fcd7a Reorganize source code to reflect the split between the adapter proper and the debug server. 2019-05-23 15:14:50 -07:00
Karthik Nadig
9aaf937478
Removing old test code (#1088)
Removing old test code
2019-01-07 13:38:32 -08:00
Pablo Aguiar
182683b288 Fix a broken link and a double space in README.md (#946) 2018-10-22 11:29:17 -07:00
Karthik Nadig
c5aa2a05d1
Updating test related info (#936)
* Updating test related info

* address comments
2018-10-19 13:31:16 -07:00
Karthik Nadig
170de0c659
Updating contribution details (#860)
* Add codeofconduct and contributing md files

* Updating contribution details

* Addressing comments.

* Some tweaks
2018-10-01 18:16:04 -07:00