3 ms·
There are environments where printf is not possible - e.g. MCU development. For instance, if the code breaks before the serial port is setup for printf to work.
by varispeed 6y ago
There are environments where printf is not possible - e.g. MCU development. For instance, if the code breaks before the serial port is setup for printf to work.
- mark-r 6y agoYou can always just send the output to a block of memory that is reserved for debugging, and dump out that block when necessary.