RTKernel-32's Debug Version

During the program development phase, the Debug Version of RTKernel-32 should be used by all means. It contains additional code to recognize a number of error conditions. If an error occurs, the program is aborted with an error message. Moreover, the Debug Version can determine at which source code position a task is suspended. Also, it can calculate the CPU time usage of tasks and interrupts. To locate persistent bugs, it features the real-time Kernel Tracer, which can also be used by the application.

Naturally, the Debug Version will not perform as fast as RTKernel-32's Standard Version. The only reason not to use the Debug Version during the testing phase could be the higher interrupt latency. To change the version used, a program need not be recompiled; relinking is sufficient. To use the Debug Version, link library Rtk32.lib (or Rtk32mp.lib for the multiprocessor kernel). The Standard Version is selected by linking Rtk32s.lib or Rtk32mps.lib instead.