Hey @madppiper nice to hear from you!
First of, I completely understand having to get paid for your work I have nothing against that and it seems like your are trying to develop exactly what I would need in order to actually be able to program in Julia, so huge props for that 
As I said it is more from an ideological reason that I find myself against paying for software or start relying on software that isn’t open source.
Now onto the actual problem I am seeing.
The crash I am seeing is for sure because I have written something nonsensical in Julia, so it is completely fair that the code stops running at that point, my main problem is that it detaches the debugger and does not really give me a nice informative error stack.
See the following error stack for instance:
Debugger stopped: step
[Julia] Debug session ended with error:
[Julia] ArgumentError: invalid Array dimensions
[Julia] Stacktrace:
[Julia] [1] checked_dims
[Julia] @ ./boot.jl:641 [inlined]
[Julia] [2] reshape(a::Vector{Float64}, dims::Tuple{Int64, Int64})
[Julia] @ Base ./reshapedarray.jl:44
[Julia] [3] macro expansion
[Julia] @ ./some.jl:158 [inlined]
[Julia] [4] native_call
[Julia] @ ~/.julia/packages/JuliaInterpreter/zxqbD/src/interpret.jl:211 [inlined]
[Julia] [5] evaluate_call!(interp::JuliaInterpreter.RecursiveInterpreter, frame::JuliaInterpreter.Frame, fargs::Vector{Any}, enter_generated::Bool)
[Julia] @ JuliaInterpreter ~/.julia/packages/JuliaInterpreter/zxqbD/src/interpret.jl:274
[Julia] [6] evaluate_call!(interp::JuliaInterpreter.RecursiveInterpreter, frame::JuliaInterpreter.Frame, call_expr::Expr, enter_generated::Bool)
[Julia] @ JuliaInterpreter ~/.julia/packages/JuliaInterpreter/zxqbD/src/interpret.jl:249
[Julia] [7] evaluate_call!(interp::JuliaInterpreter.RecursiveInterpreter, frame::JuliaInterpreter.Frame, call_expr::Expr)
[Julia] @ JuliaInterpreter ~/.julia/packages/JuliaInterpreter/zxqbD/src/interpret.jl:242
[Julia] [8] eval_rhs(interp::JuliaInterpreter.RecursiveInterpreter, frame::JuliaInterpreter.Frame, node::Expr)
[Julia] @ JuliaInterpreter ~/.julia/packages/JuliaInterpreter/zxqbD/src/interpret.jl:399
[Julia] [9] step_expr!(interp::JuliaInterpreter.RecursiveInterpreter, frame::JuliaInterpreter.Frame, node::Any, istoplevel::Bool)
[Julia] @ JuliaInterpreter ~/.julia/packages/JuliaInterpreter/zxqbD/src/interpret.jl:485
[Julia] [10] step_expr!
[Julia] @ ~/.julia/packages/JuliaInterpreter/zxqbD/src/interpret.jl:620 [inlined]
[Julia] [11] next_until!(predicate::Any, interp::JuliaInterpreter.RecursiveInterpreter, frame::JuliaInterpreter.Frame, istoplevel::Bool)
[Julia] @ JuliaInterpreter ~/.julia/packages/JuliaInterpreter/zxqbD/src/commands.jl:102
[Julia] [12] _next_line!
[Julia] @ ~/.julia/packages/JuliaInterpreter/zxqbD/src/commands.jl:187 [inlined]
[Julia] [13] next_line!(interp::JuliaInterpreter.RecursiveInterpreter, frame::JuliaInterpreter.Frame, istoplevel::Bool)
[Julia] @ JuliaInterpreter ~/.julia/packages/JuliaInterpreter/zxqbD/src/commands.jl:184
[Julia] [14] debug_command(interp::JuliaInterpreter.RecursiveInterpreter, frame::JuliaInterpreter.Frame, cmd::Symbol, rootistoplevel::Bool; line::Nothing)
[Julia] @ JuliaInterpreter ~/.julia/packages/JuliaInterpreter/zxqbD/src/commands.jl:497
[Julia] [15] debug_command(interp::JuliaInterpreter.RecursiveInterpreter, frame::JuliaInterpreter.Frame, cmd::Symbol, rootistoplevel::Bool)
[Julia] @ JuliaInterpreter ~/.julia/packages/JuliaInterpreter/zxqbD/src/commands.jl:477
[Julia] [16] our_debug_command(debug_engine::DebugAdapter.DebugEngines.DebugEngine, cmd::Symbol)
[Julia] @ DebugAdapter.DebugEngines ~/.julia/packages/DebugAdapter/6PfG9/src/DebugEngines.jl:246
[Julia] [17] run(debug_engine::DebugAdapter.DebugEngines.DebugEngine)
[Julia] @ DebugAdapter.DebugEngines ~/.julia/packages/DebugAdapter/6PfG9/src/DebugEngines.jl:335
[Julia] [18] run(debug_session::DebugAdapter.DebugSession, error_handler::Nothing)
[Julia] @ DebugAdapter ~/.julia/packages/DebugAdapter/6PfG9/src/packagedef.jl:162
[Julia] [19] run
[Julia] @ ~/.julia/packages/DebugAdapter/6PfG9/src/packagedef.jl:60 [inlined]
[Julia] [20] start_dap_server(base_port::Int64, max_attempts::Int64)
[Julia] @ Main /tmp/julia_dap_bootstrap_17231867484774971137.jl:122
[Julia] [21] start_dap_server(base_port::Int64)
[Julia] @ Main /tmp/julia_dap_bootstrap_17231867484774971137.jl:93
[Julia] [22] top-level scope
[Julia] @ /tmp/julia_dap_bootstrap_17231867484774971137.jl:138
[Julia] [23] include(mod::Module, _path::String)
[Julia] @ Base ./Base.jl:306
[Julia] [24] exec_options(opts::Base.JLOptions)
[Julia] @ Base ./client.jl:317
[Julia] [25] _start()
[Julia] @ Base ./client.jl:550
[Debugger] Connection to debug adapter lost.
[Julia] Done reading
The code that makes this crash is the following:
And it crashes on line 815, because I wrongly used -1 instead of : for the undefined dimension in a reshape argument. However Nowhere in the error message do I actually see line 815 mentioned.
Rerunning the code and stopping the line before it crashes I get the following:
I just realized that I can actually see the variables now. They do not show up by default, but if I switches from console to the one called “Frames | Variables” and I click local scope it fetches them and I can inspect the variable values (The variables in the top right window called Julia does not seem to reflect this local scope though). However I still seem to have no way to actually interact with my code at this state (I usually use the debugging console to query things in at this point, but I do not see one anywhere here)