Hi there, is there a way to dump the contents of a block to stdout? dbg!(block) only seems to print the id of the block.
I don't think there is. There is dbg!(func)
to print the entire function though.
And you can manually iterate over the instrunctions in a block and print them individually.
Will do, thank you for the information!
fwiw, factoring out the print-one-block logic from the print-the-whole-function method into its own method would be cool to have, if you have the appetite for that kind of thing
Last updated: Jan 24 2025 at 00:11 UTC