debug

I'm seeing Connection shut down by remote side while waiting for reply to initial handshake packet on my MacBook Air M2 when I launch the debugger in VSCodium (I tried VSCode too). Is the debugger supposed to be working?
4 Replies
ModularBot
ModularBot6d ago
Congrats @richard.kiss, you just advanced to level 1!
MM
MM5d ago
I get the same message too, maybe we should file a bug?
MM
MM5d ago
GitHub
[BUG]: Debug Mojo File fails in VS Code with `Connection shut down ...
Bug description VS Code can no longer debug Mojo with the max 24.5 SDK installed with Magic CLI. Trying to run Debug Mojo File ends with the error message Connection shut down by remote side while ...
richard.kiss
richard.kiss5d ago
FYI, the nightly mojo extension for VSCode(/Codium) gets a little further. But I get some weird linker errors about missing symbols.
JIT session error: Symbols not found: [ _stdlib::builtin::str::str[::Stringable]($0),T=move::Move.__str__, _pile::Pile::playable(pile::Pile), _board::SeahavenBoard::playable_for_column(board::SeahavenBoard,::Int) ]
JIT session error: Symbols not found: [ _stdlib::builtin::str::str[::Stringable]($0),T=move::Move.__str__, _pile::Pile::playable(pile::Pile), _board::SeahavenBoard::playable_for_column(board::SeahavenBoard,::Int) ]
seems like maybe template expansion is not working properly? Or maybe this is happening only in the debugger because it's trying to print something that doesn't get printed during normal execution
Want results from more Discord servers?
Add your server