Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Remove 'yield' from some request handlers #1267

Merged
merged 1 commit into from
Mar 27, 2019

Conversation

karthiknadig
Copy link
Member

Fixes #1266. We previously treated this as a notify (event) to pydevd, with the switch to json protocol this is now a request. If we wait for a response for request such as continue request. The thread could begin and suspend immediately.

This could be done with pydevd_notify, notify calls don't expect a response. since requests like continue has a response this causes additional issue in the debugger where it fails to associate the response with a request, and crash.

In this PR, I am replicating the same behavior as we had with pydevd_notify by using pydevd_request but ignoring the response.

* Remove 'yield' from some request handlers
* Fix json notify request
@karthiknadig karthiknadig merged commit b65e15a into microsoft:master Mar 27, 2019
@karthiknadig karthiknadig deleted the fixcontinue branch April 18, 2019 02:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants