Assuming you have a second thread running next to v8, you can use v8::Debug::DebugBreak to issue an interrupt.
Yang
On Thursday, November 1, 2012 6:23:09 AM UTC+1, ahwood wrote:
>
> for example:
> function foo(){
> for(;;){}
> }
> foo();
>
> My main app will be idle, if run the code above. How to stop/quit the
> script?
>
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
