# Trouble with Debugger.@bp

**URL:** <https://discourse.julialang.org/t/trouble-with-debugger-bp/57069>\
**Category:** New to Julia\
**Created:** [March 13, 2021, 12:11pm UTC](https://discourse.julialang.org/t/trouble-with-debugger-bp/57069 "2021-03-13T12:11:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![marty0801](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/marty0801/32/12715_2.png) [@marty0801](https://discourse.julialang.org/u/marty0801)\
**Post date:** [March 13, 2021, 12:11pm UTC](https://discourse.julialang.org/t/trouble-with-debugger-bp/57069/1 "2021-03-13T12:11:39Z")

</div>

I can’t seem to get @bp to catch when used in a module that’s part of a package. I have:

```julia
module ToyModule 

import Debugger 

function f(x) 
    @bp 
    return x^2 
end 

end 

```

in a package called Cluster. In a new REPL none of the following catches the breakpoint. I’m working from the VSCode REPL.

```julia
julia> using Revise 
julia> using Cluster.ToyModule 
julia> ToyModule.f(3)
9
julia> using Debugger
julia> Debugger.@run ToyModule.f(3)

```
