richard.kiss
richard.kiss
MModular
Created by richard.kiss on 9/15/2024 in #questions
debug
(I also started using Optional instead of my home-grown wrapper, but not clear that was a problem)
11 replies
MModular
Created by richard.kiss on 9/15/2024 in #questions
debug
2. change top level var constant-ish values to alias values
11 replies
MModular
Created by richard.kiss on 9/15/2024 in #questions
debug
1. use Formattable trait https://docs.modular.com/mojo/stdlib/utils/format/Formattable instead of Stringable
11 replies
MModular
Created by richard.kiss on 9/15/2024 in #questions
debug
I got this working. I had to do a few things:
11 replies
MModular
Created by richard.kiss on 9/15/2024 in #questions
debug
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
11 replies
MModular
Created by richard.kiss on 9/15/2024 in #questions
debug
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) ]
11 replies
MModular
Created by richard.kiss on 9/15/2024 in #questions
debug
FYI, the nightly mojo extension for VSCode(/Codium) gets a little further. But I get some weird linker errors about missing symbols.
11 replies