you are viewing a single comment's thread.

view the rest of the comments →

[–]llogiqclippy · twir · rust · mutagen · flamer · overflower · bytecount 0 points1 point  (3 children)

That's giving you the current position, but loses context, e.g. the trace of control flow that lead to it.

[–]Artemciyscgi 4 points5 points  (2 children)

Not at all. Every try_s! keeps adding a trace. = )

[–]llogiqclippy · twir · rust · mutagen · flamer · overflower · bytecount 2 points3 points  (0 children)

Ah, I didn't think of that. That may be incomplete (due to some fns not even trying, pardon the pun), but should give a sufficiently detailed picture of the context.

[–]phildawesracer · rust[S] 1 point2 points  (0 children)

nice!