Commit graph

17 commits

Author SHA1 Message Date
Adam Yoblick
a99d933411 Remove bytecode distinfo causing PyPi publish errors and ignore it from now on 2024-12-12 15:44:37 -06:00
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
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
Luciana Abud
d73cf2226d Add extensions recommendations and remove settings 2023-07-21 11:47:48 -07:00
Pavel Minaev
68d82b02b2 Fix #155: manylinux wheels don't pass auditwheel checks
For platform-specific wheels, do not include attach-to-PID binaries for other platforms.
2021-08-27 12:52:58 -07:00
Pavel Minaev
0825dbeb37 Add code coverage for tests (excluding ptvsd.server and pydevd).
Fix some issues on Python 2.7.

Remove dead code.
2019-09-18 21:42:51 -07:00
Pavel Minaev
0f76b660ed Fix and refactor debugServer mode for ptvsd.adapter. (#1567)
Add launch.json for convenient testing of ptvsd.adapter.

Various minor fixes.
2019-07-08 11:38:25 -07:00
Pavel Minaev
82b62b77b5 Fix #1551: Backchannel failures in tests
Fix various bugs around handling of disconnect in JsonIOStream and JsonMessageChannel.

Fix handling of DAP "terminated" event in debug.Session.

Add --ptvsd-logs and --pydevd-logs switches to pytest.

Improve message logging to fully capture the raw message data in the logs if deserialization fails.

Log all debuggee environment variables in debug.Session, and improve log readability.
2019-07-02 17:05:51 -07:00
Pavel Minaev
f71f0a5b0a Tests refactoring. (#1543) 2019-06-28 10:13:00 -07:00
Pavel Minaev
dfbb8321ef Enable discovery of ptvsd tests in VSCode. 2019-02-25 16:35:46 -08:00
Pavel Minaev
8f68b3d359
Port refactored command line parser to master (#1105)
* Fix #1090: Port refactored command line parser to master

* Fix #921: Double dash in program arguments gets caught and crashes pydevd

* Fix #1013: -h/--help arg to program instead shows help for interpreter
2019-01-16 20:26:39 -08:00
Pavel Minaev
b47df51478
Test & infrastructure cleanup, stage 1 (#850)
* Add new JSON IPC implementation to be shared between the product and the tests.

Add pytest-based test support, and wire it up to setup.py and Travis.

Dial pylint down to complain about important things only.

Various minor fixes exposed by pylint.

Add basic .vscode/settings.json for linter settings (and anything else that's workspace-specific).

Fixes #831.
2018-09-27 00:36:48 -07:00
Fabio Zadrozny
e9ed23fe75 Fixed #481: JustMyCode debugging not working in VS Code when virtualenv is inside workspace. (#640) 2018-07-11 13:35:31 -07:00
Fabio Zadrozny
6b20c67794 Fixes deadlock when creating thread. (#591) 2018-07-05 18:10:15 -07:00
Karthik Nadig
9e4e9cff9c Partial fix to exception notification issue in VS 2018-01-23 12:00:04 -08:00
Microsoft GitHub User
507fcb8179
Initial commit 2017-12-07 16:36:14 -08:00