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
When using jerryscript-debugger.sh to debug with /bin/jerry executable + source.js inside JerryScript. Breakpoints will be invisible after reopening ChromeDevTools. If try to add the breakpoints again, it will prompt "breakpoint already enabled" in terminal, but still invisible in ChromeDevTools.
Have Chrome running and visit the URL chrome://inspect, and click "Open dedicated DevTools for Node."
$ cd jerryscript-debugger-ts
$ yarn install
$ ./jerry-debugger.sh
Add some breakpoints.
Reopen ChromeDevTools.
Actual Result
After Step9: No breakpoints display. If try to add breakpoints again, it will prompt "breakpoints already enabled" in terminal, but still invisible in ChromeDevTools.
Before reopen:
After reopen:
Error in terminal when add breakpoint:
Server < {"id":61,"method":"Debugger.setBreakpointByUrl","params":{"lineNumber":18,"url":"tests/debugger/do_finish.js","columnNumber":0,"condition":""}}
Server > {"id":61,"error":{"code":-32603,"message":"InternalError: Internal Error when calling 'Debugger.setBreakpointByUrl'","data":"breakpoint already enabled"}}
Expected Result
Breakpoints are visible after reopen ChromeDevTools. Breakpoints can removed and re-added.
Description
When using jerryscript-debugger.sh to debug with /bin/jerry executable + source.js inside JerryScript. Breakpoints will be invisible after reopening ChromeDevTools. If try to add the breakpoints again, it will prompt "breakpoint already enabled" in terminal, but still invisible in ChromeDevTools.
Test Code
JerryScript Debugger & Chrome DevTools Proxy;
jerryscript/test/debugger/do_finish.js
Steps to Reproduction
$ cd jerryscript
$ python tools/build.py --jerry-debugger=on --jerry-libc=off
$ ./build/bin/jerry --start-debug-server --log-level 2 test/debugger/do_finish.js
chrome://inspect
, and click "Open dedicated DevTools for Node."$ cd jerryscript-debugger-ts
$ yarn install
$ ./jerry-debugger.sh
Actual Result
After Step9: No breakpoints display. If try to add breakpoints again, it will prompt "breakpoints already enabled" in terminal, but still invisible in ChromeDevTools.
Before reopen:
After reopen:
Error in terminal when add breakpoint:
Expected Result
Breakpoints are visible after reopen ChromeDevTools. Breakpoints can removed and re-added.
Test Builds
Additional Information
The text was updated successfully, but these errors were encountered: