Skip to content
This repository has been archived by the owner. It is now read-only.

debugger: fix debugger failure when passing commands with non-latin symbols #10

Merged
merged 3 commits into from
Mar 22, 2017

Conversation

Let0s
Copy link
Collaborator

@Let0s Let0s commented Mar 14, 2017

Debug agent incorrectly used Content-Length and cut Content-Length symbols instead of Content-Length bytes from debugger protocol messages. This causes incorrect command body extraction and parsing that leads to debugger disconnection.

This fixes debugger problem mistakenly reported here microsoft/vscode#17389

@Let0s Let0s merged commit 3d5bb45 into dev Mar 22, 2017
Let0s added a commit that referenced this pull request Mar 24, 2017
* fix: move 'array_buffer_allocator' variable into 'NodeEngine' class

* make only one global object and context for one engine, fix error on second script launch on the same engine

* debugger: fix debugger failure when passing commands with non-latin symbols (#10)

* fix: fix debugger disconnect after setting a breakpoint in file with non-latin name

* change Client.buffer type to Buffer

* fix

* add get version functions

* fix error when JS exception is thrown inside delphi callback (#12)

* fix: move 'array_buffer_allocator' variable into 'NodeEngine' class

* make only one global object and context for one engine, fix error on second script launch on the same engine

* Feat: add "SetInactive" function to stop handling callbacks; refactor delphi callbacks

* Feat: add variables and calling JS function without parameters
@Let0s Let0s deleted the fix-debugger-error-with-non-latin-symbols branch June 1, 2017 06:58
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.

1 participant