Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Retrieving javascript line index during execution

0
0
Hi,

Could it be something has changed in the V8 debugging protocol in the new version?

We are having issues with setting breakpoints. In 5.4.1 V8 doesn't respond to any of setbreakpoint requests.

In v5.4.0 following request successfully sets a breakpoint
{"command":"setbreakpoint","arguments":{"type":"script","target":"myscript","line":1,"enabled":true},"seq":1,"type":"request"}"
response
{"seq":0,"request_seq":1,"type":"response","command":"setbreakpoint","success":true,"body":{"type":"scriptName","breakpoint":1,"script_name":"myscript","line":1,"column":null,"actual_locations":[]},"refs":[],"running":true}
All other commands such as continue, clearbreakpoint, etc work as well.

In v5.4.1 response never arrives for the above setbreakpoint request. I haven't had time yet to to test other commands nor debug it any further unfortunately.
The debugger itself seems to connect successfully though as I can see the welcome message with version info being sent back.

Viewing all articles
Browse latest Browse all 2297

Latest Images

Trending Articles





Latest Images