Prettyprinting stacks
Factor handbook » Developer tools » The prettyprinter

Prev:Prettyprinting numbers
Next:Prettyprint control variables


Prettyprinting the current data, retain, call stacks:
.s ( -- )

.r ( -- )

.c ( -- )


Prettyprinting any stack:
stack. ( seq -- )


Prettyprinting any call stack:
callstack. ( callstack -- )


Note that calls to .s can also be included inside words as a debugging aid, however a more convenient way to achieve this is to use the annotation facility. See Word annotations.