Print text with the kernel debugger
#include <sys/neutrino.h> void DebugKDOutput( const char* str, size_t size );
- The string that you want to print.
- The number of characters to print.
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The DebugKDBreak() kernel call causes the kernel debugger to print size characters from str if the kernel debugger is present in your boot image. If it isn't in your boot image, nothing happens.
When, where, and how the kernel debugger displays this message depends on which host debugger you're using.