News for hackers. Stuff that matters.
Re:Ask HN: How to generate/find mock stack traces? by austin-cheney on Sunday February 26, 2023 @05:23PM (#34950229)
In JavaScript you can arbitrarily generate a stack trace at any point without interruption.

    console.log(new Error().stack);
Re:Ask HN: How to generate/find mock stack traces? by rsanyal on Sunday February 26, 2023 @05:46PM (#34950491)
Got it. I'll look more into this. I understand that I can script errors myself. I wanted to see if there already exists a dataset that could provide me with different kinds of stack traces.

Either way, I'll look into the solution you're suggesting too. Thanks so much