Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests #1575

Closed
wants to merge 24 commits into from

Conversation

Projects
None yet
2 participants
@int19h
Copy link
Contributor

commented Jul 9, 2019

No description provided.

int19h and others added some commits May 23, 2019

Fix #1502: Concurrent DAP request processing
Add support for "yield" in request handlers.
Fix #1486: Message processing/forwarding loop
Implements the main message loops for IDE and debug server communication channels, and framework for DAP message handlers.

Lays out scaffolding for debuggee process management and connectivity.

Implements generic message propagation between IDE and debug server.

Partially implements playback of the initialization sequence when debug server is connected (without validation).

Implements `initialize`, `disconnect`, and `terminate` DAP messages.

Partially implements `attach`, `launch`, and `configurationDone` DAP messages.
Refactor messaging:
- better propagation of messages and errors
- implicit error handling for invalid messages
- fix various issues related to disconnecting

Fix messaging tests.

Separate formatter from logging for reuse.

Add more Python 2/3 compatibility helpers.
Migrate bunch of requests, Fix #1491, Fix #1492, Fix #1493 (#1517)
* Migrate bunch of requests, Fix #1491, #1492, #1493

* Use new api

* Tweak some requests

* fix linter

* Address comments.

* linter fixes
Test refactoring migrated to new api (#1544)
* Update ANY to some

* Refactor breakpoint lines in tests

* Replace old import and emable debug with debug_me

* Remove unused code

* Fix some linter issues

* Change from some.such_that to some.str.such_that

* Linting with black
Replace wait_for_thread_stopped with wait_for_stop (#1550)
* Replace wait_for_thread_stopped with wait_for_stop

* Switch flask tests to use flask server

* Assert linter

* Use marked lines

* Fix stack logging in tests

* Prevent black from formating some debug code

* Simplify flask tests

* Replace send_request(continue) with send_continue

* fix typo
Fix #1551: Backchannel failures in tests
Fix various bugs around handling of disconnect in JsonIOStream and JsonMessageChannel.

Fix handling of DAP "terminated" event in debug.Session.

Add --ptvsd-logs and --pydevd-logs switches to pytest.

Improve message logging to fully capture the raw message data in the logs if deserialization fails.

Log all debuggee environment variables in debug.Session, and improve log readability.
Fix #1552: attach_socket_import tests hang waiting for "process" event
Preload codecs used by ptvsd and pydevd to avoid deadlocks when calling wait_for_attach()  while importing a module on Python 2.
Add option to connect to adapter via port from IDE (#1562)
* Add option to connect to adapter via port from IDE

* Addressing comments.
Fix and refactor debugServer mode for ptvsd.adapter. (#1567)
Add launch.json for convenient testing of ptvsd.adapter.

Various minor fixes.

@int19h int19h force-pushed the int19h:tests branch from 7be68f9 to b354eab Jul 9, 2019

@karthiknadig

This comment has been minimized.

Copy link
Member

commented Jul 9, 2019

@int19h this should be dap branch right?

@int19h int19h force-pushed the int19h:tests branch from b354eab to 746bda5 Jul 9, 2019

@int19h

This comment has been minimized.

Copy link
Contributor Author

commented Jul 9, 2019

Opened by mistake. The other PR had the same stuff (but going into the right branch).

@int19h int19h closed this Jul 9, 2019

@int19h int19h deleted the int19h:tests branch Jul 9, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.