Subj : Re: Stuck with the basics To : Stu From : Brendan Eich Date : Tue May 27 2003 12:18 pm Stu wrote: > I've been using the documentation you mention from the start and not > gettting anywhere theres not decent examples of Complile Script and Call > Function. The API you were calling takes the name of the function to compile, followed by number and names of its formal parameters, followed by the body of the function in a C string. Therefore you shouldn't expect to have to write the entire function, including "function Hello() {" before the body, and "}" after. That would be redundant, unnecessary. > How do you debug? I've got error messages passing out to a ErrorReporter > which writes to screen but thats it at the moment. I'd love more info can > you point me towards a Debugging example? I meant run the js shell, or your embedding of the 'monkey, under a C/C++ debugger. If you're on Windows, MSVC and others come to mind. On Linux and other Unixes, gdb. What platform are you using? /be .