This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

debug information

Hi,

is it possible to print some debug information to the debug window (build output window)?

Like printf() for the uart interface...

best regards
Bernd

Parents
  • Yes, it is possible to print to the command window in the debug mode.
    Under the Debug Menu, select the Function Editor. The printf function call in this mode is NOT the same as the C printf in the compiler.
    The printf in the function editor prints to the command window only. You are not required to set up any UART conditions to use this printf function.
    Using the Log command you can copy to a file anything written to the command window if desired.
    Look at the Debug Functions in the User Guide for more information on formatting in the Function Editor.
    Bradford

Reply
  • Yes, it is possible to print to the command window in the debug mode.
    Under the Debug Menu, select the Function Editor. The printf function call in this mode is NOT the same as the C printf in the compiler.
    The printf in the function editor prints to the command window only. You are not required to set up any UART conditions to use this printf function.
    Using the Log command you can copy to a file anything written to the command window if desired.
    Look at the Debug Functions in the User Guide for more information on formatting in the Function Editor.
    Bradford

Children
No data