Make debugger port runtime configurable
Convert debug server port from a compile-time constant to a context variable. This enables each engine instance (either running in the same process or in different processes) to listen for connections at different ports, i.e., multiple engines can be debugged at the same time on the same machine. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
@@ -28,4 +28,3 @@ Frame 1: tests/debugger/do_backtrace.js:25 (in foo() at line:21, col:1)
|
||||
Frame 2: tests/debugger/do_backtrace.js:33 (in test() at line:30, col:1)
|
||||
Frame 3: tests/debugger/do_backtrace.js:40
|
||||
(jerry-debugger) c
|
||||
Connection closed.
|
||||
|
||||
@@ -24,4 +24,3 @@ Stopped at breakpoint:2 tests/debugger/do_break.js:36 (in test() at line:20, col
|
||||
(jerry-debugger) continue
|
||||
Stopped at breakpoint:3 tests/debugger/do_break.js:33 (in f() at line:31, col:3)
|
||||
(jerry-debugger) c
|
||||
Connection closed.
|
||||
|
||||
@@ -19,4 +19,3 @@ Breakpoint 3 at tests/debugger/do_delete.js:18
|
||||
(jerry-debugger) list
|
||||
1: tests/debugger/do_delete.js:17
|
||||
(jerry-debugger) c
|
||||
Connection closed.
|
||||
|
||||
@@ -14,4 +14,3 @@ Breakpoint 3 at tests/debugger/do_delete_all.js:21 (in delete_test() at line:20,
|
||||
(jerry-debugger) next
|
||||
Stopped at tests/debugger/do_delete_all.js:16
|
||||
(jerry-debugger) c
|
||||
Connection closed.
|
||||
|
||||
@@ -50,4 +50,3 @@ Source: tests/debugger/do_display.js
|
||||
(jerry-debugger) c
|
||||
Stopped at breakpoint:4 tests/debugger/do_display.js:18 (in d() at line:18, col:1)
|
||||
(jerry-debugger) c
|
||||
Connection closed.
|
||||
|
||||
@@ -25,4 +25,3 @@ Stopped at tests/debugger/do_eval.js:24
|
||||
(jerry-debugger) e a
|
||||
11.3
|
||||
(jerry-debugger) c
|
||||
Connection closed.
|
||||
|
||||
@@ -5,4 +5,3 @@ Stopped at tests/debugger/do_eval_syntax.js:26
|
||||
(jerry-debugger) eval loop
|
||||
Uncaught exception: Error
|
||||
(jerry-debugger) c
|
||||
Connection closed.
|
||||
|
||||
@@ -5,4 +5,3 @@ Stopped at tests/debugger/do_next.js:17
|
||||
(jerry-debugger) next
|
||||
Stopped at tests/debugger/do_next.js:18
|
||||
(jerry-debugger) c
|
||||
Connection closed.
|
||||
|
||||
@@ -13,4 +13,3 @@ Stopped at tests/debugger/do_pending_breakpoints.js:19
|
||||
(jerry-debugger) c
|
||||
Stopped at breakpoint:1 <unknown>:1 (in f() at line:1, col:1)
|
||||
(jerry-debugger) c
|
||||
Connection closed.
|
||||
|
||||
@@ -16,4 +16,3 @@ Stopped at tests/debugger/do_src.js:21
|
||||
Stopped at <unknown>:2 (in f() at line:1, col:5)
|
||||
(jerry-debugger) src
|
||||
(jerry-debugger) c
|
||||
Connection closed.
|
||||
|
||||
@@ -23,4 +23,3 @@ Stopped at tests/debugger/do_step.js:29 (in f2() at line:26, col:1)
|
||||
Frame 0: tests/debugger/do_step.js:29 (in f2() at line:26, col:1)
|
||||
Frame 1: tests/debugger/do_step.js:33
|
||||
(jerry-debugger) c
|
||||
Connection closed.
|
||||
|
||||
Reference in New Issue
Block a user