forked from microsoft/ptvsd
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix microsoft#1648: Messaging does not allow reverse requests
Separate message parsing and message handling into separate threads. Remove nested message handling in request handlers via `yield`, since it is incompatible with the new split model, and replace it with NO_RESPONSE and Request.respond() to defer responses until later. Change Message.cant_handle() and Message.isnt_valid() to respond to the request and return the exception, instead of raising it, to accommodate NO_RESPONSE scenarios where a failure needs to be reported later. Fix microsoft#1678: Do not rely on "processId" being returned by "runInTerminal" request Extract debuggee PID from the "process" event sent by the debug server. Fix microsoft#1679: "exited" event sometimes reports "exitCode": null Report it as -1 if it cannot be retrieved from the debuggee process. Fix microsoft#1680: Fatal errors in message loop do not fail fast os._exit() immediately if a fatal error occurs in message parsing or message handling background threads.
- Loading branch information
Showing
10 changed files
with
925 additions
and
813 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.