# Another Debugger Problem

**URL:** <https://discourse.julialang.org/t/another-debugger-problem/72870>\
**Category:** General Usage\
**Tags:** debug, vscode\
**Created:** [December 10, 2021, 1:53am UTC](https://discourse.julialang.org/t/another-debugger-problem/72870 "2021-12-10T01:53:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kw\_martin](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kw_martin/32/48868_2.png) [@kw\_martin](https://discourse.julialang.org/u/kw_martin)\
**Post date:** [December 10, 2021, 1:53am UTC](https://discourse.julialang.org/t/another-debugger-problem/72870/1 "2021-12-10T01:53:16Z")

</div>

Still trying to figure out a reasonable debugging strategy. I keep going back and forth between Debugger and VSCode and can’t get either to work adequately. Biggest problem with VSCode is I can’t understand error messages, especially, for example, when an appropriate method can not be found. It’s also real slow every time a new debug session is started. This problem thought is going back to Debugger after VSCode frustration. Example:

```julia
> julia
               _
   _ _ _(_)_ | Documentation: https://docs.julialang.org
  (_) | (_) (_) |
   _ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` | |
  | | |_| | | | (_| | | Version 1.6.3 (2021-09-23)
 _/ |\ __'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |

julia> using Debugger

julia> function tst(f0::Float64)
         k1 = 2.0*f0;
       end
tst (generic function with 1 method)

julia> @enter tst(1.0/16.0)
In tst(f0) at REPL[2]:1
 1 function tst(f0::Float64)
>2 k1 = 2.0*f0;
 3 end

About to run: (*)(2.0, 0.0625)
1|debug> n
ERROR: UndefVarError: _apply_latest not defined
Stacktrace:
 [1] *(x::Float64, y::Float64)
   @ Base float.jl:332
 [2] tst(f0::Float64)
   @ Main REPL[2]:2

julia> 

```

Any ideas on what I am doing wrong?

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [December 18, 2021, 6:29pm UTC](https://discourse.julialang.org/t/another-debugger-problem/72870/2 "2021-12-18T18:29:49Z")

</div>

I tried your example in 1.6.2, 1.6.3 and 1.6.4 but all worked well, no error for me.  
Perhaps it’s some older Debugger version you have:

```julia
(@v1.6) pkg> st Debugger
      Status `C:\Users\user\.julia\environments\v1.6\Project.toml`
  [31a5f54b] Debugger v0.6.8

```

And, perhaps also a difference: I am on Windows.
