Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different colors for stacktraces #22653

Closed
antoine-levitt opened this issue Jul 1, 2017 · 2 comments
Closed

Different colors for stacktraces #22653

antoine-levitt opened this issue Jul 1, 2017 · 2 comments

Comments

@antoine-levitt
Copy link
Contributor

Complex stacktraces can be a bit hard to read (although they are much better in 0.6!). In particular, I often find myself reading the stacktrace line by line to find the first place in my code (as opposed to julia Base code or package code) where the error is.

Would it be possible to annotate the source line by the provenance of the code? Ideally, there would be three colors: 1 internal julia code 2 package code 3 user code. Obviously these categories intersect but in most situations simple heuristics should do the trick: if the file is in julia's dir (./ in backtraces) then 1, if in Pkg.dir() then 2, otherwise 3.

@ararslan
Copy link
Member

ararslan commented Jul 1, 2017

cc @KristofferC

@KristofferC
Copy link
Member

Closing in favor of #25375 since it has more discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants