long-stack-traces
long-stack-traces copied to clipboard
Add option to limit stacktrace
Using code with process.nextTick() loops (sometimes necessary) will produce a huge stacktrace and additionally lead to a memory leak.
I had a recursive function that recursed 1000+ times and it threw out of memory error. I know you know it sa limitation (its basically the example you give in your todo) but just wanted to add my vote to limiting the stack trace :)