We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bac4e6a commit 29189f8Copy full SHA for 29189f8
docs/develop/func/stdlib.mdx
@@ -632,7 +632,23 @@ A variant of `parse_std_addr` that returns the (rewritten) address as a slice `s
632
633
## Debug primitives
634
635
-Currently, only one function is available.
+Debug primitives can be used for inspecting state of various variables while running tests or console scripts.
636
+
637
+#### ~dump
638
639
+```func
640
+forall X -> () ~dump(X value) impure asm "s0 DUMP";
641
+```
642
643
+Outputs a value.
644
645
+#### ~strdump
646
647
648
+() ~strdump(slice str) impure asm "STRDUMP";
649
650
651
+Dumps a string. Slice parameter bit length must be divisible by 8.
652
653
#### dump_stack
654
0 commit comments