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 has been archived by the owner on Aug 5, 2022. It is now read-only.
When using jerryscript-debugger.sh to debug with /bin/jerry executable inside JerryScript. Breakpoint can be added and removed. But Resume/Step into/Step over/Step out/Step doesn't work. It wil cause "unhandled protocol message type: xx". After clicking once, the icon becomes disabled.
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
Click Resume/Step into/Step over/Step out/Step
Actual Result
After step7: Error message "incorrect target debugger version detected: 3 expected 2 is print after connection setup.
After step 8: Step into/Step over/Step out/Step icon become disabled.
Error message "unhandled protocol message type: xx" is print in terminal.
The icons are disabled:
Error message in terminal:
Expected Result
No error occurs.
Able to use resume/Step into/Step over/Step out/Step to debug.
OK, sorry yeah if you are able to characterize a bug like this without reference to ZJS, e.g. using bin/jerry, then it would be best to report directly on the jerryscript-debugger-ts project.
We have created a issue in jerryscript-debugger-ts/#12 for using bin/jerry to debug JS file in JerryScript. The error message is also print when connecting and debugging through Resume/Step into/Step over/Step out/Step. The different from issue #1877 is Resume/Step into/Step over/Step out/Step not disabled after one click.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
When using jerryscript-debugger.sh to debug with /bin/jerry executable inside JerryScript. Breakpoint can be added and removed. But Resume/Step into/Step over/Step out/Step doesn't work. It wil cause "unhandled protocol message type: xx". After clicking once, the icon becomes disabled.
Test Code
JerryScript Debugger & Chrome DevTools Proxy;
zephyr.js/samples/Buffer.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 $ZJS_BASE/samples/Buffer.js
chrome://inspect
, and click "Open dedicated DevTools for Node."$ cd jerryscript-debugger-ts
$ yarn install
$ ./jerry-debugger.sh
Actual Result
After step7: Error message "incorrect target debugger version detected: 3 expected 2 is print after connection setup.
After step 8: Step into/Step over/Step out/Step icon become disabled.
Error message "unhandled protocol message type: xx" is print in terminal.
The icons are disabled:
Error message in terminal:
Expected Result
No error occurs.
Able to use resume/Step into/Step over/Step out/Step to debug.
Test Builds
Additional Information
The text was updated successfully, but these errors were encountered: