vscode-debugger hangs on the "using Revise" statement
·
Answer a question
When I use Visual Studio code to debug a Julia file, it hangs on the "using Revise" statement. No debugging button seems to do anything, except the stop button. Does anyone know of a solution?
using Revise
println("Hello")

Answers
I finally got it working. In vs-code there is a bright blue bar at the bottom. Clicking Julia env: and changing it from v1.5 to JulaiPro_v1.5.2-1 fixed everything.
It has something to do with:
julia> Base.load_path()
3-element Array{String,1}:
"C:\\Users\\<user>\\.julia\\environments\\JuliaPro_v1.5.2-1\\Project.toml"
"C:\\Users\\<user>\\.julia\\environments\\v1.5\\Project.toml"
"C:\\Users\\<user>\\AppData\\Local\\JuliaPro-1.5.2-1\\Julia-1.5.2\\share\\julia\\stdlib\\v1.5"
The v1.5 path didn't exist.
更多推荐
所有评论(0)