Multiple client source sending feature. (#1957)
Whit this enhancement the debugger can able handle more than one source file across the new source wait mode. This feature can be used by the python client with the --client-source [paths] switch. The client will store every source path, when the debugger send a signal about the waiting status, then the client will send one file from the list. JerryScript-DCO-1.0-Signed-off-by: Imre Kiss kissi.szeged@partner.samsung.com
This commit is contained in:
@@ -21,7 +21,11 @@ CLIENT_ARGS=""
|
||||
|
||||
if [[ $TEST_CASE == *"client_source"* ]]; then
|
||||
START_DEBUG_SERVER="${JERRY} --start-debug-server --debugger-wait-source &"
|
||||
CLIENT_ARGS="--client-source ${TEST_CASE}.js"
|
||||
if [[ $TEST_CASE == *"client_source_multiple"* ]]; then
|
||||
CLIENT_ARGS="--client-source ${TEST_CASE}_2.js ${TEST_CASE}_1.js"
|
||||
else
|
||||
CLIENT_ARGS="--client-source ${TEST_CASE}.js"
|
||||
fi
|
||||
else
|
||||
START_DEBUG_SERVER="${JERRY} ${TEST_CASE}.js --start-debug-server &"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user