2009/6/2 Sébastien Pierre <[email protected]>: > at #<an Object>.command > > ( #<an Object>.command being the JS snippet that reads the file and evals > it)
i had similar problems when evaling an include()d file and had to do some hopping around with the exception catching to make it work how i wanted. See: http://code.google.com/p/v8-juice/source/browse/trunk/src/lib/juice/juice.cc in the IncludeScript() function. Inside the do{...}while(false) loop you'll see some weird stuff with copying an exception object. That approach allowed me to get the exception back into my main script, with line numbers and whatnot intact. No idea if all this is really required, but "it worked for me." -- ----- stephan beal http://wanderinghorse.net/home/stephan/ --~--~---------~--~----~------------~-------~--~----~ v8-users mailing list [email protected] http://groups.google.com/group/v8-users -~----------~----~----~----~------~----~------~--~---
