debugpy/ptvsd
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
..
_vendored Integrate single suspend event change to master (#974) 2018-11-01 15:12:21 -07:00
__init__.py Clean up handling of vendored projects. (#383) 2018-04-19 18:20:06 -06:00
__main__.py Fix #966: Sub process debugging not working with PTVSD 2018-10-30 15:08:49 -07:00
_attach.py Fix #200: Local attach (#787) 2018-09-14 17:01:44 -07:00
_local.py Check if exit code is none before converting to int (#843) 2018-09-26 00:31:20 -07:00
_remote.py Fix #810: Sub-Process: monkey patch pydevd to start process using ptvsd (#862) 2018-10-11 14:01:39 -07:00
_util.py Integrate single suspend event change to master (#974) 2018-11-01 15:12:21 -07:00
_version.py Set up versioneer to auto-generate version numbers from git. 2018-04-11 14:00:48 -07:00
attach_server.py Fix #200: Local attach (#787) 2018-09-14 17:01:44 -07:00
compat.py Refactor timeline: 2018-10-11 14:01:39 -07:00
daemon.py Fix #887: subprocess: command line rewriting 2018-10-14 21:15:35 -07:00
debugger.py Add ability to run without debugging (#797) 2018-09-12 10:09:46 -07:00
exit_handlers.py Fix #355: Add 'remote launch' - launch a program for remote debugging but continue running the user code (#769) 2018-08-28 11:03:21 -07:00
futures.py Set up versioneer to auto-generate version numbers from git. 2018-04-11 14:00:48 -07:00
ipcjson.py Get the tests working on Windows. (#455) 2018-05-31 16:06:08 -06:00
messaging.py Remove comment that is no longer applicable. 2018-10-14 21:15:35 -07:00
multiproc.py Fix #966: Sub process debugging not working with PTVSD 2018-10-30 15:08:49 -07:00
options.py Fix #887: subprocess: command line rewriting 2018-10-14 21:15:35 -07:00
pathutils.py Glob does not pick up with correct casing if [] is removed. (#818) 2018-09-18 14:25:31 -07:00
pydevd_hooks.py Add 'Multiprocess' debug option (#950) 2018-10-23 13:08:45 -07:00
reraise.py Set up versioneer to auto-generate version numbers from git. 2018-04-11 14:00:48 -07:00
reraise2.py lint 2018-04-11 22:21:14 +00:00
reraise3.py lint 2018-04-11 22:21:14 +00:00
run_code.py Fix #886: ptvsd command line should support the equivalent of python -c 2018-10-11 14:01:39 -07:00
runner.py Remove redirect output timeout (#734) 2018-08-06 10:42:01 -07:00
safe_repr.py Fixes exception in django cause by long iter check (#443) 2018-05-30 15:21:31 -07:00
session.py Fix #355: Add 'remote launch' - launch a program for remote debugging but continue running the user code (#769) 2018-08-28 11:03:21 -07:00
socket.py Set SIO_LOOPBACK_FAST_PATH while creating socket in windows (#913) 2018-10-22 18:15:25 -07:00
ThirdPartyNotices.txt Updated Third party notice (#813) 2018-09-18 13:10:07 -07:00
untangle.py lint 2018-03-20 00:53:45 +00:00
version.py Set up versioneer to auto-generate version numbers from git. 2018-04-11 14:00:48 -07:00
wrapper.py Integrate single suspend event change to master (#974) 2018-11-01 15:12:21 -07:00