I had a play with that and it looks like it has great potential, but it is difficult to get it to work. Maybe some subtle config issue.
I have a printf redirected to SWV ITM and this works with Cube IDE. This comes out shortly after startup and outputs "Hello" and PCLK1/2 etc.
I managed to get the line of output to come out but only a bit at a time, say 5 chars, by pressing start/stop on the SWV console, but that was my entire success. Then that stopped... I am using the System Reset button to restart the target so I can get the output, and the reset works ok.
For SWV to work one has to config the CPU clock, which I have at 168000000. The 2000kHz SWV clock is not evidently configurable anywhere. For the SWD clock, currently 8000kHz, I have tried all speeds.
Cube IDE
not running, is correct, I presume.
It can run but not with any debug functionality since the USB debugger port cannot be shared.EDIT: I got it running eventually, by disconnecting the STLINK USB cable a few times
Let's see how long it lasts for... The output is rendered much faster than in Cube. Probably the STLINK utility isn't running 10k lines of Java for each byte
Spotted something curious: the debug console expands \r to \r\n. I checked this with a breakpoint on the actual ST low level function. IOW, a pure "CR" (a line overwriting itself) cannot be implemented e.g.
printf("In app.c %010lu\r",loopcnt++);