Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

removing breakpoint results in error #169

Open
dolejm1 opened this issue Nov 3, 2016 · 0 comments
Open

removing breakpoint results in error #169

dolejm1 opened this issue Nov 3, 2016 · 0 comments

Comments

@dolejm1
Copy link

dolejm1 commented Nov 3, 2016

I defined a breakpoint, stored it in an array but when I need to remove it error occurs and the breakpoint is inactivated:

julia> BP
1-element Array{Any,1}:
Locations (+: active, -: inactive, *: source):

  • test_register_fast_multiscale_hierarchical_admm_droso_annot() at c:\Code\segregjl\test_admm.jl:304
  • Any method reaching test_admm.jl:357
  • Any matching specialization of test_register_fast_multiscale_hierarchical_admm_droso_annot() at c:\Code\segregjl\test_admm.jl
    :304

julia> Gallium.remove(BP[1])
ERROR: BoundsError: attempt to access 0-element Array{Gallium.Breakpoint,1} at index [0]
in deleteat! at .\array.jl:577 [inlined]
in remove(::Gallium.Breakpoint) at C:\Users\dolejm1.julia\v0.5\Gallium\src\Gallium.jl:757

julia> BP
1-element Array{Any,1}:
Locations (+: active, -: inactive, *: source):

  • test_register_fast_multiscale_hierarchical_admm_droso_annot() at c:\Code\segregjl\test_admm.jl:304
  • Any method reaching test_admm.jl:357
  • Any matching specialization of test_register_fast_multiscale_hierarchical_admm_droso_annot() at c:\Code\segregjl\test_admm.jl
    :304
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant