Connecting Chrome Developer Tools to V8 instance

Showing 1-5 of 5 messages
Connecting Chrome Developer Tools to V8 instance dubik 2/17/12 12:56 AM
Hi,

Is there a way to connect CDT to my own V8 instance? I would like to
utilize CPU and Heap snapshots? Or is there a way to send JSON output
which I could get from V8 through TakeSnapshot function? Is there
standalone version of CDT not integrated into Chrome (sounds silly I
know:) )?

:S
Re: [Chrome DevTools] Connecting Chrome Developer Tools to V8 instance johnjbarton 2/17/12 7:55 AM
In
https://github.com/johnjbarton/atopwi
I have a copy of the devtools front-end wired to an iframe that
connect to Chrome extension.debugger. I don't know, but I guess the
CPU/Heap part does not work, because the extension.debugger does not
yet support the profiler messages.  I guess you could wire the
profiler UI to a socket connected to V8 following the same model.

jjb

Re: Connecting Chrome Developer Tools to V8 instance pfeldman 2/17/12 8:26 AM
v8 debugging protocol (http://code.google.com/p/v8/wiki/
DebuggerProtocol) does not expose profile-related functions, so you
can't connect to v8 running outside of Chrome for capturing profiler
data.

Regards
Pavel
Re: [Chrome DevTools] Connecting Chrome Developer Tools to V8 instance Sergiy Dubovik 2/17/12 8:47 AM
Thanks John!

That looks very promising however I can't get anything visible. Do you
know how to show something?
I tried few html files which were there and the one under front-end/,
dev-tools.html showed me only search box.

br,
Sergiy

Re: [Chrome DevTools] Connecting Chrome Developer Tools to V8 instance johnjbarton 2/17/12 9:16 AM
I updated the readme.txt to add installation instructions.

As Pavel explained, it seems like you won't be able to use this idea
with standalone V8.

jjb