Hacker News new | past | comments | ask | show | jobs | submit login

There's no guarantee the method that created the lambda is still on the stack. If a method returns a callback, the method that created the lambda has returned before the lambda is called.



But wouldn't the stacktrace still include the file and line number where the lambda was created? Yes, you can't easily trace the code path between the creation of the lambda to its execution, but that strikes me as no different than debugging any other issue with bad data.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: