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
_
_ _ _(_)_ | 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?