I have. The PrintF calls happen before the user callback is called. With the embedded scenario, it would be desirable to have some API to suppress or redirect stdout output.
On Tuesday, August 23, 2016 at 9:27:37 PM UTC-7, Ben Noordhuis wrote: > > On Wed, Aug 24, 2016 at 2:17 AM, Jane Chen <jxch...@gmail.com > <javascript:>> wrote: > > Embedding v8 4.6.88. > > > > When a JavaScript program executes and runs out of memory, I get some > stdout > > output from the subject function logging the last few GC and stack > frames. > > > > Is there anyway to either suppress or redirect the output? > > > > Thanks in advance. > > Have you installed a fatal error callback with > isolate->SetFatalErrorHandler()? > > In newer versions there is a separate isolate->SetOOMErrorHandler() > method but that doesn't exist in 4.6. > -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.