Thanks for your response... that clears a lot of things up. I just have a few more questions about what you said.
>There are following ways of getting into a break: setting a >breakpoint, adding "debugger" statement to your script, scheduling an >ASAP break with DebugBreak call. The main thing here is to make sure >that you get called on V8 breaking. You should experiment with various >event callbacks and message handlers from v8-debug.h. Do you happen to know what state the Virtual Machine (is this the right word for it) is in when you call into C++ code from JavaScript code? If you call a DebugBreak from C++ (while inside a call from JS) it seems like it should wait for the C++ code to finish, return control to V8 and then execute the break. I am wondering if that is the issue I was having here and if this actually works like that. -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
