'Qt creator tracepoint

In Qt creator there are breakpoint settings. So I can put condition like this *(quint16*)((void*)e+0x8)==2 and it works nicely. But I would like to also print a debug message with that value - something like this: value = *(quint16*)((void*)e+0x8) as Tracepoint. But I am not able to figure out the proper string format...



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source