logoalt Hacker News

iknowstufftoday at 1:21 AM1 replyview on HN

In Rust debugging and stacktraces are perfectly fine because async/futures compile to a perfect state machine.


Replies

comextoday at 3:18 AM

They are not perfectly fine. If a task panics then you will get the right stack trace, but there is no way to get a stack trace for a task that’s currently waiting. (At least not without intrusive hacks.)

show 1 reply