Skip to content

Breakpoint on lines doesnt seem to work properly? #33

@KristofferC

Description

@KristofferC
shell> cat ../file.jl
function gg(x)
    z = :foo
    b = "fdsf"
    q = Expr(:call, sin, 1)
    print(x)
end

julia> set_breakpoint!(abspath("../file.jl"), 3)
1-element Array{MagneticReadHead.Rule,1}:
 MagneticReadHead.Rule{Method}(gg(x) in Main at /mnt/c/Users/Kristoffer/Debugging/file.jl:2, 2)
julia> @iron_debug gg(2)
2

I would have thought that I would have stopped on b = with the breakpoint on line 3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    256ishFor bugs that go away when you restart julia

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions