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.

Pinning the console window during Linux debug

Hi

I have a problem with the CCS console window that I would appreciate your help with.

I am debugging an app running on Linux, using RSE to connect to the target.

When I debug and step over printf statements, the printf output appears only briefly in the console window, then the window goes blank. I can make the console permanently show the printf output by playing with the ‘Pin Console’ and ‘Display Selected Console’ buttons to the right of the console window. However, I'm not sure what I'm doing. Furthermore, when I then switch back to 'CCS Edit' perspective, the console window no longer shows the build output, and I have to play with the controls again.

The Console window seems to 'behave' much better when I am debugging a SYS/BIOS debug session.

Any advice, please, for how to improve Console Window behaviour when working with Linux?

BR

David

  • David,

    I haven't experienced this here specifically with Linux debugging, but in the occasions I experience context switch in the console are usually due to warnings and messages coming from other sources (output from GEL scripts that initialize hardware, emulation warning and error messages, etc.)

    In this case I suspect the change of context in the console view is due to messages coming either from the GDB or the RSE sessions - which also explains why the SYS/BIOS debug session does not show this issue (it does not use GDB or RSE).

    Apart from what you are already doing, I am not necessarily sure what can be done to minimize this - you may want to play with the console options in the menu Window --> Preferences --> Run/Debug --> Console and see if some options there may help.

    Hope this helps,

    Rafael

  • Thanks for your help, I'll see what I can do.

    David