[Interest] Detect if app is running under Qt Creator's debugger

Alexander Dyagilev alervdvcw at gmail.com
Tue Apr 23 16:33:39 CEST 2024


Hello,

Is there a simple way to detect it?

What I would like to achieve is to perform some debug check similar to one
Q_ASSERT does, but instead I want it to just print to console in case the
app is NOT running under debugger and fall back to Q_ASSERT behavior
otherwise (so I can see the stack trace then).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20240423/0cb2ed58/attachment.htm>


More information about the Interest mailing list