This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello
I would like to use Debug Print in Code Composer Studio. I want to place debugprint(".......") sth. like this in to my code and see what happens in my code in different functions. I do not want to use any UART for this.
Is there any way to use Debug Print in Code composer studio ? For example when the code enters one function, I will see some explanations with DebugPrint in one side of Code Composer Studio Console Screen.
Regards
Serkan
Serkan said:Is there any way to use Debug Print in Code composer studio ? For example when the code enters one function, I will see some explanations with DebugPrint in one side of Code Composer Studio Console Screen.
You can use standard C functions like printf in your code (this will print out to the CCS console view), but be aware that there are some things to watch for, one of them is to ensure that the program has sufficient stack and heap space. Please check this wiki for additional guidelines when working with C I/O functions like printf: http://processors.wiki.ti.com/index.php/Tips_for_using_printf