veged/xjst

Show context on `RangeError: Maximum call stack size exceeded`

veged opened this issue · 2 comments

Show context on `RangeError: Maximum call stack size exceeded`

I'm afraid it isn't possible without wrapping everything into try...catch blocks, which is just terrible for performance. Though, it might be done in development mode.

Thoughts?

we have the same one object for context in all recursive calls -- so we just need to dump it somehow