This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Description
Description
When using jerryscript-debugger-ts to debug ZJS on Linux and FRDM-K64F board, The breakpoint is added failed in Chrome Devtools (66+), which work well on Chrome 65.
Test Code
tests/test-buffer.js
Steps to Reproduction
Linux build for example:
git clone https://github.com/jimmy-huang/jerryscript
git checkout debugger-port
git clone https://github.com/jimmy-huang/zephyr.js
git checkout js-debugger
cd zephyr.js
source zjs-env.sh
make update
source deps/zephyr/zephyr-env.sh
- Delete deps/jerryscript, and replace with the cloned one.
make BOARD=linux DEBUGGER=on
outdir/linux/release/jslinux tests/test-buffer.js --debugger
Start debugger proxy:
12. git clone https://github.com/jerryscript-project/jerryscript-debugger-ts
13. cd jerryscript-debugger-ts
14. yarn install
15. ./jerry-debugger.sh
Open Chrome 66:
16. Input chrome://inspect
17. Click Open dedicated DevTools for Node
18. Add breakpoint in source code
Actual Result
The breakpoint is added failed, it will display when the mouse clicks on code line, but disappear quickly.
And the terminal of jerry-debugger.sh output:

Expected Result
The breakpoint can be added in code.
Test Builds
| Branch |
Build ID |
Target Device |
Chrome |
Date |
Result |
| jimmy-huang/js-debugger |
966904 |
Linux |
66+ |
April 27, 2018 |
Fail |
| jimmy-huang/js-debugger |
966904 |
Linux |
65 |
April 27, 2018 |
Pass |