You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 5, 2022. It is now read-only.
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.
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:
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/jerryscriptgit checkout debugger-portgit clone https://github.com/jimmy-huang/zephyr.jsgit checkout js-debuggercd zephyr.jssource zjs-env.shmake updatesource deps/zephyr/zephyr-env.shmake BOARD=linux DEBUGGER=onoutdir/linux/release/jslinux tests/test-buffer.js --debuggerStart debugger proxy:
12.
git clone https://github.com/jerryscript-project/jerryscript-debugger-ts13.
cd jerryscript-debugger-ts14.
yarn install15.
./jerry-debugger.shOpen Chrome 66:
16. Input
chrome://inspect17. Click
Open dedicated DevTools for Node18. 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.shoutput:Expected Result
The breakpoint can be added in code.
Test Builds