Can I watch my debug message in console window?

I can use “TRACE” to watch my debug message in Visual C++/debug window. For example: // example for TRACE int i = 1; char sz[] = “one”; TRACE( "Integer = %d, String = %s
", i, sz ); // Output: ‘Integer = 1, String = one’ So, Can I watch my debug message in GDBTK/console window? Thank you!

If it is impossible, where I can implement it(no serial port can be used, because I had use the serial port for other task).

You can get “TRACE” messages sent over ethernet. Search for udpdb in the documentation. You will have to rebuild the BSP after setting so options then run udpdb on a PC to see the messages.

Good Luck!