I agree this can be annoying to debug. Due to emscripten preprocessing the
file, though, it isn't easy to just pass through a JS engine error. It
should however print out the preprocessed output, which you can then
inspect.

- Alon


On Wed, Dec 10, 2014 at 4:38 AM, Sergey Solozhentsev <
[email protected]> wrote:

> error: failure to execute js library "<my_lib.js>": SyntaxError: Unexpected
> token {,,SyntaxError: Unexpected token {
>
> I often has such error. But it difficult to locate where it is. I hvae
> information only about file. It woud be nice to have information about line
>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to