Subj : Re: JS_CompileFile does not return To : Laurent Marzullo From : Brendan Eich Date : Mon Jul 05 2004 07:33 pm Laurent Marzullo wrote: > Hello, > > Could someone tell me why the following statment does not return ? > > std::cerr << "HELLO -- 0\n"; > JSScript *js = > JS_CompileFile( > cx , > global , > js_FileName.c_str() ); > std::cerr << "HELLO -- 1\n"; > > HELLO -- 1 is not printed !! > > (I wandering if it's not a GC probleme ... but could not > find it) > > Could you please give hint ? Sorry, you will have to debug a bit. Can you run under a debugger and breakpoint exit, _exit, and abort? Also, have you used JS_SetErrorReporter to configure an error reporter of your own? You should. /be .