# Debugger ignores breakpoints when using @everywhere

**URL:** <https://discourse.julialang.org/t/debugger-ignores-breakpoints-when-using-everywhere/36774>\
**Category:** Juno\
**Tags:** debug\
**Created:** [March 31, 2020, 2:27am UTC](https://discourse.julialang.org/t/debugger-ignores-breakpoints-when-using-everywhere/36774 "2020-03-31T02:27:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aguila\_Cudicio](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/aguila_cudicio/32/13739_2.png) [@Aguila\_Cudicio](https://discourse.julialang.org/u/Aguila_Cudicio)\
**Post date:** [March 31, 2020, 2:27am UTC](https://discourse.julialang.org/t/debugger-ignores-breakpoints-when-using-everywhere/36774/1 "2020-03-31T02:27:58Z")

</div>

I’m trying to debug a piece of code I didn’t write and I’m having some problems. I’m new to Julia.  
In some cases Juno Debugger seems to be ignoring the breakpoints. This is my toy code:

```julia
using Debugger

function test_b()
    a = rand(1:5,10)
    sum(a)
    x = collect(1:2:4)
end

function test5()
    @everywhere sampleDir = "/home/user/test/test-output"
    @everywhere outputDir = "home/user/test/diarization"
    @everywhere n_speakers = 2
    @everywhere mt_step = 0.2
    @everywhere mt_size = 2

    @everywhere st_win = 0.05

    @everywhere la_dim = 35
    a = 1
    b = 2
    print(a+b)
    print("mmm")
    n = test_b()
    m = test_b()

    print(n)

end

```

The debugger ignores my breakpoints, it never shows my own function test5. It jumps to something called “macros.jl”

 ![image](https://global.discourse-cdn.com/julialang/original/3X/d/d/ddac6aa5dd16c8efa936866c590bc45ff99db18a.png)

If I delete all the @everywhere lines, then it works OK. Something like this:

```julia
using Debugger

function test_b()
    a = rand(1:5,10)
    sum(a)
    x = collect(1:2:4)
end

function test5()

    a = 1
    b = 2
    print(a+b)
    print("mmm")
    n = test_b()
    m = test_b()

    print(n)

end

```

In both cases I’m trying to debug with Juno.@run test5()

What can I do to debug code with @everywhere? Outside my toy code I can’t delete those lines.

Thanks a lot.
