Currently no error is thrown when adding a break-point to a unknown file:
julia> using Gallium
julia> bp = breakpoint("/tmp/non-existant.jl", 2)
Locations (+: active, -: inactive, *: source):
* Any method reaching /tmp/non-existant.jl:2
With this Pr:
julia> bp = breakpoint("/tmp/non-existant.jl", 2)
ERROR: No file /tmp/non-existant.jl found in loaded packages or included files.
in breakpoint(::String, ::Int64) at /home/mauro/.julia/v0.5/Gallium/src/breakfile.jl:134
in eval(::Module, ::Any) at ./boot.jl:234
in macro expansion at ./REPL.jl:92 [inlined]
in (::Base.REPL.##1#2{Base.REPL.REPLBackend})() at ./event.jl:46
Currently no error is thrown when adding a break-point to a unknown file:
With this Pr:
If this is a desired feature, I can add tests.