Hi Walter,

if you are trying to step through a script in Chrome, please make yourself
familiar with Chrome
devtools<http://code.google.com/chrome/devtools/docs/scripts.html>
.

if you are trying to do this using d8, you can start one d8 instance with
the option "--debugger-agent" and another instance with the option
"--remote-debugger". You can now use the first instance to execute scripts
and the second one to debug. Enter "help" into the remote debugger for more
info.

You can of course also use the Eclipse
debugger<http://code.google.com/p/chromedevtools/wiki/EclipseDebugger>
or
even the Debugger protocol<http://code.google.com/p/v8/wiki/DebuggerProtocol>
.

I hope this helps.

Yang

On Sun, Feb 26, 2012 at 4:39 PM, Walter Zheng <[email protected]> wrote:

> I am a bit confused about how to make this work with the debugger.
> I want to break at the first line.
> then run the script line by line.
> after each line execution, I like to print the current stack status,
> what is every variable value.
>
> Are there any tools can make this happen?
>
> Or how to build my own?
>
> Thanks,
> Walter
>
> --
> v8-dev mailing list
> [email protected]
> http://groups.google.com/group/v8-dev
>

-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to