debugpy/tests
Pavel Minaev 915515d910 Fix output capture for "noDebug".
Ensure that all captured output is reported to the IDE before reporting process exit.

Correctly report "process", "exited", and "terminated" events for "noDebug".

Don't treat partial message reads as fatal error.

Switch test_nodebug to "internalConsole", so that it can properly produce "output" events.

Expect failure response from "setBreakpoints" in test_nodebug.

Fix environment dict being shared between subsequent test runs, causing spurious enable_attach() in debuggee.

Fix ordering in debuggee and adapter cleanup in debug.Session.

Fix launcher.py on Python 2.7
2019-08-24 15:38:48 -07:00
..
_logs Fix #1551: Backchannel failures in tests 2019-07-02 17:05:51 -07:00
DEBUGGEE_PYTHONPATH Do not load ptvsd.server (and hence, pydevd) unless the subpackage is loaded explicitly or via a public API entrypoint that requires it. 2019-08-18 11:43:23 -07:00
patterns Improve timeline logging for DAP messages: 2019-07-18 10:13:02 -07:00
ptvsd Fix output capture for "noDebug". 2019-08-24 15:38:48 -07:00
test_data Fix #1648: Messaging does not allow reverse requests 2019-08-11 19:46:54 -07:00
tests Remove prints in tests outside of the code being debugged - use logging instead. 2019-07-18 10:13:02 -07:00
watchdog Fix #1614: Test run times out on Python 2.7 (#1615) 2019-07-22 22:21:01 -07:00
__init__.py Do not load ptvsd.server (and hence, pydevd) unless the subpackage is loaded explicitly or via a public API entrypoint that requires it. 2019-08-18 11:43:23 -07:00
code.py Fix remaining tests to reflect the debug adapter refactoring changes. 2019-07-11 16:19:06 -07:00
conftest.py Tests refactoring. (#1543) 2019-06-28 10:13:00 -07:00
debug.py Fix output capture for "noDebug". 2019-08-24 15:38:48 -07:00
debug_old.py Update tests to use python debug adapter (#1660) 2019-08-12 13:53:24 -07:00
helpers.py Fix output capture for "noDebug". 2019-08-24 15:38:48 -07:00
net.py Log connection errors in wait_until_port_is_listening() test helper. 2019-07-18 10:13:02 -07:00
pydevd_log.py Fix #1551: Backchannel failures in tests 2019-07-02 17:05:51 -07:00
pytest_fixtures.py Update tests to use python debug adapter (#1660) 2019-08-12 13:53:24 -07:00
pytest_hooks.py Do not load ptvsd.server (and hence, pydevd) unless the subpackage is loaded explicitly or via a public API entrypoint that requires it. 2019-08-18 11:43:23 -07:00
requirements.txt Fix #1585: Output tests fail sporadically 2019-07-18 10:13:02 -07:00
start_methods.py Fix output capture for "noDebug". 2019-08-24 15:38:48 -07:00
timeline.md Update tests to use python debug adapter (#1660) 2019-08-12 13:53:24 -07:00
timeline.py Do not load ptvsd.server (and hence, pydevd) unless the subpackage is loaded explicitly or via a public API entrypoint that requires it. 2019-08-18 11:43:23 -07:00