debugpy/tests
Eric Snow c816752aff
Do not wait for settrace() to finish until wait_for_attach(). (#628)
(helps #545)

We move the settrace() into a thread, but make sure to wait for the thread to finish in wait_for_attach().

My only concern with the solution is that the current thread will not get debugged if enable_attach() is called but wait_for_attach() is not (and no attach happens right away). I'm going to address this in a follow-up PR by monkey-patching sys.settrace temporarily.
2018-07-16 14:51:33 -06:00
..
debugger_protocol Compatibility python 3.4 (#519) 2018-06-25 13:20:22 -07:00
helpers Do not wait for settrace() to finish until wait_for_attach(). (#628) 2018-07-16 14:51:33 -06:00
highlevel Wait for program to run to completion to fix issue with live exception tests (#650) 2018-07-13 09:42:20 -07:00
ptvsd Some pathutils fixes (#589) 2018-07-06 13:08:34 -07:00
resources/system_tests Do not wait for settrace() to finish until wait_for_attach(). (#628) 2018-07-16 14:51:33 -06:00
system_tests Do not wait for settrace() to finish until wait_for_attach(). (#628) 2018-07-16 14:51:33 -06:00
__init__.py A bunch of cleanup/lint fixes for the system tests. (#625) 2018-07-09 17:14:57 -06:00
__main__.py Update verbosity when we create junit-style output report files (#608) 2018-07-06 15:56:48 -07:00
test_setup.py Get the tests working on Windows. (#455) 2018-05-31 16:06:08 -06:00
test_tests___main__.py Update for VSTS-based CI process (#431) 2018-06-21 17:09:53 -07:00