[Interest] Continued past failed assertions with MSVC

Scott Bloom scott at towel42.com
Tue May 9 01:50:51 CEST 2023

I do on a regular basis. Not sure why you say it’s a horrible dialog, it’s a message box 😊 with the assertion information.

-----Original Message-----
From: Interest <interest-bounces at qt-project.org> On Behalf Of Thiago Macieira
Sent: Monday, May 8, 2023 9:25 AM
To: Qt Interest <interest at qt-project.org>
Subject: [Interest] Continued past failed assertions with MSVC

When a Qt application fails a Q_ASSERT and was compiled against a debug-mode QtCore, with MSVC, it shows a debug dialog with three options: Abort, Retry, Ignore. It looks like https://www.google.com/search?q=_CrtDbgReport+dialog

This is a horrible dialogue that harkens back to the DOS days.

But the big problem is that "Ignore" button: it allows the application to ignore this condition and continue executing. I suppose people use it for debugging past failed assertions to see what else is going on.

So the question is: does anyone use this particular feature? Would you suffer terribly if we removed it? This would bring MSVC in line with the other compilers.

Thiago Macieira - thiago.macieira (AT) intel.com
  Cloud Software Architect - Intel DCAI Cloud Engineering

More information about the Interest mailing list