Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!

traceon

From Quake Wiki

void traceon()

Usage[edit]

Starts printing the statements the VM is executing to the console. Useful for debugging code to see what exact steps it's taking. Paired with traceoff() to disable statement printing.

Example[edit]

// Verify which path the code is executing at a branch
traceon();
if (self.count == 3)
    PerformTask2();
else
    PerformTask();
traceoff();