-
Notifications
You must be signed in to change notification settings - Fork 8
trace
Abe Pralle edited this page Sep 7, 2022
·
3 revisions
trace
trace expression [expression ...]
@trace expression [...]
Variation | Description |
---|---|
trace | Prints the name of the current method, filename, and source line. |
trace expression ... | Prints the source position, the source code for the expression, and the value of the expression. |
@trace expression ... | Prints expressions and expression values but omits the source position. |
# In Test.rogue
local (x,y) = (3,4)
trace x y # [on_launch() Test.rogue:3] x:3 y:4
@trace x y # x:3 y:4