Skip to content

Conversation

@zherczeg
Copy link
Member

Introducing jerryscript-debugger-transport.h interface, which allows chaining multiple protocols (e.g. tcp and websocket).

@zherczeg zherczeg force-pushed the debugger_transport branch 8 times, most recently from 35cb30a to 0f3f57f Compare July 12, 2018 07:32
Copy link
Contributor

@LaszloLango LaszloLango left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work, I had just a few comments.


**Summary**

This context represent the current status of processing received data.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

represents


if (jerry_debugger_tcp_create (port))
{
if (!jerry_debugger_ws_create ())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please merge the if statements

layers which can encode/decode or send/receive messages transmitted between
the debugger client and server.

**Warning** This API is not part of the standard JerryScript API and may change
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMHO this comment is unnecessary, because this is not part of the public API. Private functions could be changed anytime (and anywhere) in the whole project.

Introducing jerryscript-debugger-transport.h interface, which allows
chaining multiple protocols (e.g. tcp and websocket).

JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
@zherczeg zherczeg force-pushed the debugger_transport branch from 0f3f57f to 5e26b1e Compare July 12, 2018 11:25
@zherczeg
Copy link
Member Author

Thank you for the review. Patch updated.

Copy link
Contributor

@LaszloLango LaszloLango left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@yichoi yichoi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yichoi yichoi merged commit 857ba99 into jerryscript-project:master Jul 12, 2018
@zherczeg zherczeg deleted the debugger_transport branch July 13, 2018 03:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants