debugpy/tests/system_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
..
__init__.py Fix blocking enable_attach and breaking on the main thread in remote debugging (#706) 2018-08-01 13:00:14 -07:00
test_basic.py Fix path mappings with remote debugging (#624) 2018-07-10 15:09:16 -07:00
test_break_into_debugger.py Integrate single suspend event change to master (#974) 2018-11-01 15:12:21 -07:00
test_breakpoints.py Integrate single suspend event change to master (#974) 2018-11-01 15:12:21 -07:00
test_connection.py Fix #925: Make --host a required switch 2018-10-17 13:29:09 -07:00
test_disconnect.py Enable more disconnect tests (#779) 2018-08-30 22:38:45 -07:00
test_enable_attach.py Integrate single suspend event change to master (#974) 2018-11-01 15:12:21 -07:00
test_exceptions.py Integrate single suspend event change to master (#974) 2018-11-01 15:12:21 -07:00
test_main.py Integrate single suspend event change to master (#974) 2018-11-01 15:12:21 -07:00
test_misc.py Preserve tab character while parsing XML (#829) 2018-09-20 18:28:02 -07:00
test_remote.py Revert "Revert "Do not wait for settrace() to finish until wait_for_attach(). (#628)" (#666)" (#670) 2018-07-17 14:25:53 -06:00
test_restart_vsc.py A bunch of cleanup/lint fixes for the system tests. (#625) 2018-07-09 17:14:57 -06:00
test_schema.py A bunch of cleanup/lint fixes for the system tests. (#625) 2018-07-09 17:14:57 -06:00
test_variables.py A bunch of cleanup/lint fixes for the system tests. (#625) 2018-07-09 17:14:57 -06:00
test_wait_on_exit.py Add test cases for wait on exit (#784) 2018-09-10 13:55:49 -07:00
test_web_frameworks.py Add preserveFocusHint to thread stopped event (#778) 2018-08-30 14:00:19 -07:00