mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
* 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 |
||
|---|---|---|
| .. | ||
| debugger_protocol | ||
| helpers | ||
| highlevel | ||
| ptvsd | ||
| resources/system_tests | ||
| system_tests | ||
| __init__.py | ||
| __main__.py | ||
| test_setup.py | ||
| test_tests___main__.py | ||