What platform are you on? You are supposed to get backtraces:

julia> function myfunc(x)
           y = sum(x)
           y2 = othersum(x)
           println(y)
       end
myfunc (generic function with 1 method)

julia> myfunc(1:10)
ERROR: othersum not defined
 in rec_backtrace at /home/tim/src/julia/usr/bin/../lib/libjulia.so
 in jl_throw at /home/tim/src/julia/usr/bin/../lib/libjulia.so
 in jl_undefined_var_error at /home/tim/src/julia/usr/bin/../lib/libjulia.so
 in myfunc at none:3
 in jl_apply_generic at /home/tim/src/julia/usr/bin/../lib/libjulia.so
 in jl_f_top_eval at /home/tim/src/julia/usr/bin/../lib/libjulia.so

That said, if this example works for you but you don't get backtraces in some 
specific circumstances, if you can come up with a good test case please file an 
issue: https://github.com/JuliaLang/julia/issues

Best,
--Tim



On Monday, August 04, 2014 02:41:32 AM Philippe Maincon wrote:
> Hi,
> 
> So here I am, running Julia 0.3.0rc, and ...
> 
> julia> b = d(a)
> Error: 'convert' ... at array.jl:307
> 
> OK, so some of my code causes a meaningless conversion to occur, and
> tripped an error in Julia's own code array.jl.  My only problem, is, I have
> no idea which part of my code was called this.  How can I get Julia to dump
> the call stack?
> 
> Cheers
> 
> Philippe

Reply via email to