Introducing debugger modes (run, breakpoint). (#1645)
This makes the code more robust and error prone, since certain messages cannot be received in certain situations, e.g. an eval command during garbage collection. JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
@@ -24,7 +24,7 @@ echo "$START_DEBUG_SERVER"
|
||||
eval "$START_DEBUG_SERVER"
|
||||
sleep 1s
|
||||
|
||||
RESULT=$((cat "${TEST_CASE}.cmd" | ${DEBUGGER_CLIENT}) 2>&1)
|
||||
RESULT=$((cat "${TEST_CASE}.cmd" | ${DEBUGGER_CLIENT} --non-interactive) 2>&1)
|
||||
DIFF=$(diff -u0 ${TEST_CASE}.expected <(echo "$RESULT"))
|
||||
|
||||
if [ -n "$DIFF" ]
|
||||
|
||||
Reference in New Issue
Block a user