Stack traces, human panic, and failure::Context are essentially runtime docs. They provide contextual information when something goes wrong. Output depends on what went wrong. Also you'll never want them ahead of time, but only when inspecting the program.
-
-
Ah tracking threads is possible. When you spawn threads you can name them, fwiw, and that shows up in the backtrace.
-
Ohh, didn't know that! -- that's very cool. Do you perhaps also know if it's possible to name the main thread? Would be cool to name it thread(main) instead of the regular thread(1) (or thread(0), I forget if it's zero-indexed haha)
- 4 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.