Hi
I'm really new to all this Mozilla stuf, so...

I just made my first JavaScript embedding C++ project. It all worked fine,
until I made an error in the script. First I believed that the function
JS_EvaluateScript or JS_CompileScript would return the line number at which
the script failed, but then I realized that this is an input parameter.
My question is now, how can I evaluate the script before executing. And how
do I get en indication where in the script the error occured. I'm not asking
for a full debugger, but just a way to indicate an syntax error in the
script.

Thanks
- cpede



Reply via email to