Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!
Difference between revisions of "traceoff"
From Quake Wiki
Line 1: | Line 1: | ||
− | + | ''void'' '''traceoff'''() | |
− | |||
− | + | == Usage == | |
+ | Stops printing the statements the VM is executing to the console. Paired with <code>traceon()</code> to start statement printing. | ||
+ | |||
+ | == Example == | ||
+ | // Verify which path the code is executing at a branch | ||
+ | traceon(); | ||
+ | if (self.count == 3) | ||
+ | PerformTask2(); | ||
+ | else | ||
+ | PerformTask(); | ||
+ | traceoff(); |
Latest revision as of 18:45, 31 July 2023
void traceoff()
Usage[edit]
Stops printing the statements the VM is executing to the console. Paired with traceon()
to start statement printing.
Example[edit]
// Verify which path the code is executing at a branch traceon(); if (self.count == 3) PerformTask2(); else PerformTask(); traceoff();