Stream: ideas

Topic: source code in stack traces


view this post on Zulip Richard Feldman (Oct 06 2023 at 07:39):

https://github.com/laech/java-stacksrc looks neat...seems like it would bloat the output binary a lot to store that info though! :sweat_smile:

view this post on Zulip Richard Feldman (Oct 06 2023 at 08:04):

could be cool for crashes that occur during roc test though!

view this post on Zulip Anton (Oct 06 2023 at 09:11):

Yes, stack traces in most languages are terrible. Like /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/core/src/panicking.rs:67:14 is not the best use of space :p

view this post on Zulip Anton (Oct 06 2023 at 09:16):

I remember modifying python stack traces for an old project so that references to my own code (not in libraries or stdlib) were colored red. That's useful because errors are not likely to be in libraries or the stdlib, it was lovely :)


Last updated: Jun 16 2026 at 16:19 UTC