-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Short-form REPL error output #27305
Comments
We could make better use of |
It would be also nice to be able to define aliases or alias patterns where one (may be the package author) could define them to improve type definition readability.
would become |
Somehow the 0.63 update also made the REPL slower, and also slow down over time as some function of error length. I just waited 3 minutes for an error to print. Any pointers on where to start having a crack at fixing this? errorshow.jl? |
Checking in from the future: are there any packages or hacks which deal with this issue? Whenever something goes wrong, there's a lot of scrolling (sometimes hundreds or thousands of lines, as mentioned above.) And in the whole thing, I'm just looking for something like "tell me the function call/LOC." |
Check the amazing https://github.com/MichaelHatherly/InteractiveErrors.jl |
We have typealias printing now and abbreviated types in stack printing |
Error output can be thousands of lines using packages like Unitful and DifferentialEquations in the REPL. Its an insane amount of scrolling, and can cut off completely in some terminals.
Discussed on discourse:
https://discourse.julialang.org/t/units-errors-and-type-display/11220
Solution: REPL errors are shortened, and somehow don't print all the type information.
REPL.reshow_error() is there if you do need to see it all.
The text was updated successfully, but these errors were encountered: