prolog trace code example Example: trace in prolog trace. %now trace is on notrace. %now trace is off again