Debugging Javascript in V8

132 views
Skip to first unread message

Dan ny

unread,
Oct 19, 2016, 5:20:19 PM10/19/16
to v8-u...@googlegroups.com
Hello,


I am currently integrating V8 with my project, and would like to hook a
conventional Javascript debugger (eg. Netbeans) to it.

The documentation says that the message protocol is no longer supported and
that I should email this group for info on how to accomplish my debugging.

Searching this group for old posts related to debugging unearthed some mention of a new debugging feature, but no specifics.

Do you have any pointers to documentation that will enable me to figure out
this challenge? Even if I have to write my own debugger UI  ;)


All the best,

Dan

Yang Guo

unread,
Oct 20, 2016, 2:36:33 AM10/20/16
to v8-users
The old debugger protocol is no longer supported. We do support the devtools protocol though. You could take a look at how v8/test/inspector-test.cc works. In your project, you could open a socket to pass devtools protocol messages through to V8, and use Chrome DevTools to debug. If everything works out, we will publish some documentation on this in the coming weeks.

Pavlo Mur

unread,
Jan 23, 2017, 2:40:04 AM1/23/17
to v8-users
Is there any progress with publishing documentation or v8/test/inspector-test.cc is still the only help on the subject?

четвер, 20 жовтня 2016 р. 09:36:33 UTC+3 користувач Yang Guo написав:

Yang Guo

unread,
Feb 8, 2017, 3:09:21 AM2/8/17
to v8-users
You can also take a look at v8/src/d8.cc in combination with v8/test/debugger/test-api.js
Reply all
Reply to author
Forward
0 new messages