debugpy/pytests/func
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
..
testfiles pytests for django and flask (#930) 2018-10-18 09:44:40 -07:00
__init__.py Test & infrastructure cleanup, stage 1 (#850) 2018-09-27 00:36:48 -07:00
test_completions.py Integrate single suspend event change to master (#974) 2018-11-01 15:12:21 -07:00
test_django.py Add 'Multiprocess' debug option (#950) 2018-10-23 13:08:45 -07:00
test_evaluate.py Handle case where no completions are provided by the debugger. Fixes #978 (#979) 2018-11-01 11:26:55 -07:00
test_flask.py Fix couple of osx issues (#961) 2018-10-26 17:10:15 -07:00
test_multiproc.py Use backchannel instead of text output in test_subprocess to improve test reliability. 2018-10-30 17:33:47 -07:00
test_run.py Fix #966: Sub process debugging not working with PTVSD 2018-10-30 15:08:49 -07:00
test_start_stop.py Tests for break on start, wait for normal and abnormal exit (#952) 2018-10-24 12:37:51 -07:00