All trace messages are output to the debug_output stream.
The format of one trace line is as follows:
S+(4) 2 *EXIT<5> module:foo(one, X, two) %> 12 3 4 5 6 7 8 9 10
When a delayed goal is resumed, it keeps the invocation number it was assigned when it delayed. This makes it easy to follow all ports of a specified call even in data-driven computation.
Since a resumed goal is considered to be a descendant of the procedure that woke it, the level of a resumed goal may be different from the level the goal had when it delayed.
The goal is printed with the current output_mode settings. which can be changed using the o command.