Thanks Yang's help. I have put the online debugging together. If you are interested, have a look at http://learnjs.info
在 2012-2-27,下午4:37, Yang Guo 写道: > Hi Walter, > > if you are trying to step through a script in Chrome, please make yourself > familiar with Chrome devtools. > > 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 or even the Debugger protocol. > > 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
