debugpy/tests
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
..
_logs Pull in pydevd sys.monitoring support (#1680) 2024-09-23 11:22:54 -07:00
debug IPv6 support (#1896) 2025-05-22 13:04:11 -07:00
DEBUGGEE_PYTHONPATH Get rid of fmt() and use idiomatic format() and f"" instead. 2022-04-13 11:38:41 -07:00
debugpy Fix debugger stepping actions in forked process (#1921) 2025-07-08 10:47:47 -07:00
patterns 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
test_data Mark test secrets as placeholders for CredScan compliance. 2022-05-25 14:11:38 -07:00
tests Blacken code. 2022-04-13 11:38:41 -07:00
watchdog Try to get more logging from 3.13 failures (#1711) 2024-10-24 11:08:42 -07:00
__init__.py Remove redundant "from __future__ import ..." 2022-04-13 11:38:41 -07:00
code.py Blacken code. 2022-04-13 11:38:41 -07:00
conftest.py Remove redundant "from __future__ import ..." 2022-04-13 11:38:41 -07:00
logs.py Pull in pydevd sys.monitoring support (#1680) 2024-09-23 11:22:54 -07:00
net.py Try to get more logging from 3.13 failures (#1711) 2024-10-24 11:08:42 -07:00
pytest_fixtures.py Updates from pydevd (#1706) 2024-10-21 10:17:39 -07:00
pytest_hooks.py Pull in pydevd sys.monitoring support (#1680) 2024-09-23 11:22:54 -07:00
requirements.txt Make sure attach binaries are built before running tox (#1753) 2024-12-03 15:27:42 -08:00
timeline.md Update timeline.md 2022-05-02 00:12:51 -07:00
timeline.py Fix #865: Debugging through poetry drops subprocess 2022-06-09 10:44:10 -07:00