debugpy/tests
Karthik Nadig 1139b400c8
Integrate single suspend event change to master (#974)
* Provide a single notification when a breakpoint is hit. #805 (#922)

* Provide a single notification when a breakpoint is hit. #805

ptvsd requires all threads to be stopped or all threads to be running
(this is a limitation for vsts), so, we generate a single notification
when a breakpoint is hit and have CMD_GET_THREAD_STACK wait to get the
actual stack (or if the thread is not paused in a timely manner,
provide the stack as it is, but in this case it may not be possible
to get the locals or interact with the frame -- issued commands
will timeout).

* Rename CMD_SUSPEND_ON_BREAKPOINT_EXCEPTION to CMD_PYDEVD_JSON_CONFIG.

* Fixes to ptvsd tests related to differences of thread events after changes to PyDBCommandThread.

* Make ptvsd use CMD_THREAD_SUSPEND_SINGLE_NOTIFICATION and CMD_THREAD_RESUME_SINGLE_NOTIFICATION.

* Fixing tests.

* Sleep on wait_for_attach() (should be removed later) -- it seems there's still a racing condition as wait_for_attach() seems to proceed before CMD_PYDEVD_JSON_CONFIG is passed on to pydevd.

* Test changes needed to integrate 805 (#969)

* Integrate 805 initial

* Fix send suspend event to use single suspend event command

* Fix thread run event tests.

* Fix event ordering

* fix reattach tests

* Increase timeouts for some tests.

* Fix more tests

* fix typo

* Skip flaky/redundent re-attach tests

* more cleanup

* Replace completions tests with pytests

* Ensure continued is sent when the thread runs.

* Dont wait for continued in completions tests.

* Revert "Ensure continued is sent when the thread runs."

This reverts commit caef558fcf4d890d01bf3e5694b3dbc42795aaaf.

* Skip broken tests.

* Parametrize completion tests
2018-11-01 15:12:21 -07:00
..
debugger_protocol Compatibility python 3.4 (#519) 2018-06-25 13:20:22 -07:00
helpers Integrate single suspend event change to master (#974) 2018-11-01 15:12:21 -07:00
highlevel Integrate single suspend event change to master (#974) 2018-11-01 15:12:21 -07:00
ptvsd Migrate modules manager, safe repr, and socket tests (#955) 2018-10-25 13:32:13 -07:00
resources/system_tests Integrate single suspend event change to master (#974) 2018-11-01 15:12:21 -07:00
system_tests Integrate single suspend event change to master (#974) 2018-11-01 15:12:21 -07:00
__init__.py A bunch of cleanup/lint fixes for the system tests. (#625) 2018-07-09 17:14:57 -06:00
__main__.py Fix for test_setup failure in python 3.7 (#733) 2018-08-05 11:04:59 -07:00
test_setup.py Integrate single suspend event change to master (#974) 2018-11-01 15:12:21 -07:00
test_tests___main__.py Update for VSTS-based CI process (#431) 2018-06-21 17:09:53 -07:00