AnsweredAssumed Answered

ITM_SendChar blocks when no debugger attached?

Question asked by zhao.frank on Aug 23, 2013
Latest reply on Aug 23, 2013 by Clive One
I think ITM_SendChar is freezing my code when I don't have a debugger attached

When I do have an debugger attached, it works, and I can see my messages

But when I don't, then the code doesn't get past the printing

But the comments for this function says "It just returns when no debugger is connected that has booked the output."

Is the comment wrong? Is there any way I can detect whether or not a debugger is attached? I don't see any obvious bitflags under the DBG register.

Outcomes