According to my experiences, STM32CubeIDE (1.9.0) does not support SWV message via ITM when using ST-Link GDB server, but it does so via OpenOCD. However, Keil µVision 5 does support ITM tracing, even bidirectional, via the 'Debug (printf) Viewer', w...