When I debug a C program with SDK, it works fine as long as no "printf()" function is used in the code. However, as soon as there is a "printf()" function used the debugger stalls; that is, it does not reach breakpoints, but runs infinitely.
This problem does not occur with "xil_printf()". Note also that even with "printf()", the code runs fine, it just does not debug.
This is a problem with the SDK debugger.
There are two ways to work around this issue:
Use xil_printf () instead of printf (). For the differences in functionality, see (Xilinx Answer 19592).
Use GDB to debug the software.