The new stacktrace printing in Julia 1.6 is great, but sometimes the amount of information printed can become a bit overwhelming and difficult to navigate so I’ve packaged up some code I’ve had locally for a little while into:
which others might find useful too I’ll let the demo and the README explain the rest:
This looks really cool! One thing I think might be useful would be to integrate this with Cthulhu.jl, which already has functionality similar to this and would allow exploring the optimized and unoptimized IR of function in the backtrace as well.
Latest release adds some simple integration for running ascend and descend from Cthulhu as well as JET.report_call on selected method calls from stacktraces.
0.1.4 will be available shortly. It includes optional syntax highlighting for source (courtesy of OhMyREPL), as well as display of method signatures (highlighted, and formatted using JuliaFormatter) for ease of reading. Here’s a nice little example of everything turned on