Pavel Minaev
3a1ecbac86
Remove more workarounds for old Python versions.
2022-04-13 11:38:41 -07:00
Pavel Minaev
1965b47034
Get rid of fmt() and use idiomatic format() and f"" instead.
2022-04-13 11:38:41 -07:00
Pavel Minaev
e87017e0b3
Remove redundant "from __future__ import ..."
2022-04-13 11:38:41 -07:00
Pavel Minaev
de9ea2cb9c
Improve exception logging to make swallowing/reraising explicit in all cases.
2020-02-21 15:55:04 -08:00
Pavel Minaev
8b4c40e922
Rename ptvsd -> debugpy.
2020-01-17 11:57:13 -08:00
Pavel Minaev
36485c02c6
Fix #1884 : Use sys.platform over platform.system()
2019-11-19 12:05:57 -08:00
Pavel Minaev
fad3c4f878
Add "from __future__ import division" to all ptvsd modules.
2019-10-30 17:12:17 -07:00
Pavel Minaev
095e5bcd5c
Fix #1713 : Adapter: multiple concurrent sessions
2019-10-30 17:12:17 -07:00
Pavel Minaev
89be0d1fce
Reformat tests.
2019-10-03 18:31:37 -07:00
Pavel Minaev
8f358d6e0f
Refactor tests.debug to accommodate ptvsd.server spawning the adapter, and remove the need for "custom_client" and "custom_server" start methods.
...
Fix launcher not propagating debuggee exit code.
Fix attach-by-PID without explicit --log-dir overriding PTVSD_LOG_DIR (and disabling logging).
Improve test logging, with a separate directory for every test.
Various test fixes.
2019-09-26 13:20:26 -07:00
Pavel Minaev
527a17cdce
Fix #1614 : Test run times out on Python 2.7 ( #1615 )
...
Close the watchdog message channel from the test process side after "stop" command is sent and acknowledged.
2019-07-22 22:21:01 -07:00
Pavel Minaev
4aec028c32
Improve multiprocess and reattach scenario handling in debug.Session.
...
Use unbuffered pipes for subprocesses on all Python versions.
Make test watchdog more lenient with respect to process ID reuse - warn, but don't fail.
2019-07-18 10:13:02 -07:00
Pavel Minaev
045fb03888
Detect and log watchdog errors in the tests process.
...
Do not indent messages that are arrays in the log, to reduce watchdog log verbosity.
2019-07-18 10:13:02 -07:00
Pavel Minaev
40f1ded82c
Explicitly stop the test watchdog at exit.
2019-07-18 10:13:02 -07:00
Pavel Minaev
44ca8fa3fc
Fix #1555 : Child process watchdog for tests
...
Implement per-test-runner out-of-process watchdog for processes spawned by tests.
Add file logging for tests and watchdog.
Improve stdio capture in debug.Session when test fails.
Remove redundant logging in debug.Session.
2019-07-18 10:13:02 -07:00