Skip to content

Commit 6d490c7

Browse files
robertsipkazherczeg
authored andcommitted
Separate the debugger-client to support the later usage of other communication protocols (#2764)
JerryScript-DCO-1.0-Signed-off-by: Robert Sipka rsipka.uszeged@partner.samsung.com
1 parent d4e27d3 commit 6d490c7

File tree

4 files changed

+257
-169
lines changed

4 files changed

+257
-169
lines changed

jerry-debugger/jerry_client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import sys
2323
import logging
2424
import time
25-
import jerry_client_ws
25+
import jerry_client_main
2626

2727
def write(string):
2828
print(string, end='')
@@ -248,9 +248,9 @@ def src_check_args(args):
248248

249249
# pylint: disable=too-many-branches,too-many-locals,too-many-statements
250250
def main():
251-
args = jerry_client_ws.arguments_parse()
251+
args = jerry_client_main.arguments_parse()
252252

253-
debugger = jerry_client_ws.JerryDebugger(args.address)
253+
debugger = jerry_client_main.JerryDebugger(args.address)
254254
debugger.non_interactive = args.non_interactive
255255

256256
logging.debug("Connected to JerryScript on %d port", debugger.port)

0 commit comments

Comments
 (0)