AllocCheck.jl
AllocCheck.jl copied to clipboard
Find a way to get source excerpts for REPL code?
julia> @check_allocs foo() = rand(Any[1,1.0]) + true
julia> try foo() catch e e.errors[end] end
Dynamic dispatch in ./REPL[2]:1
| (source not available)
Stacktrace:
[1] var"##foo#225"()
@ Main ./REPL[2]:1
For dynamic dispatches especially, this source information is pretty important.