Making debug of this in VSCode Julia extension / Julia v1.11 RC2 makes Julia to crash. It works fine in Julia 1.10 or if breakpoints are used.
function fib(n)
if n == 0 return 0 end
if n == 1 return 1 end
return fib(n-1) + fib(n-2)
end
@run fib(5)
Some error stack appears but it disappears too quick to be able for me to copy it.
Julia extension 1.105.2
EDIT
No, it crashes also in Julia v1.10, but I am pretty sure months ago it was working, so perhaps it is an upgrade to the Julia extension ???