Replies: 1 comment 1 reply
-
The However, there's no way to annotate a closure, so in the case of the library you're using, it isn't possible to get the location in your own code. If that (For some more details, I wrote a bit about the As for the pretty graphs, Tokio Console uses the language environment to decide whether it can show those graphs or not, it needs to be something UTF-8 compatible. You can overwrite it on the command line using (P.S. I hope you're fine after the dana. Hi from Granada 👋) |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have a bunch of async functions that I pass to a lib for execution, joining, and printing error result if any. When I connect to the application with
tokio-console
I only see it point to the location in library code that does this:location reads:
<cargo>/library_name-0.1.0/src/lib.rs:99:54
Is it possible to get more details beyond that? I'm going to try to spawn all tasks from my code and give them names, too, but I can't quite understand what is the limitation (or error with my usage).
Besides, I can't seem to get all the fancy graphs like on the screenshots, what I have is quite scarce, is that also some kind of error on my side?
Beta Was this translation helpful? Give feedback.
All reactions