FYI, some expect
and dbg
bugfixes will be released with tonight's nightly (December 9), so if you have a chance to try them out (especially multiple dbg
and expect
s that fail while having named variables inside them whose values they ought to print out), that would be awesome!
I just built from source and played around a bit and its awesome! Used dbg
on lists of things, records, and other various vars I have and it is working great!
Just found something interesting though! If I have something like
args <- Arg.list |> Task.await
# and then add
dbg args
It works the first time i roc dev
but from the second time on it breaks.
I was able to use this successfully and print many values. That said, after a large number of prints, the app would just crash. I'll try to make a minimal repro and file and issue later tonight or tomorrow.
Last updated: Jul 06 2025 at 12:14 UTC