[Interest] Continued past failed assertions with MSVC

Tony Rietwyk tony at rightsoft.com.au
Tue May 9 03:33:27 CEST 2023

Hi Thiago,

I rarely use Ignore - usually, I would temporarily comment out the 
assertion and rerun.

What I find much more annoying is that after clicking Retry and 
debugging the environment, I cannot then ignore the error - rewind the 
stack back to the asserting routine and continue from the next statement 
- I use Visual Studio.  A quick google shows some workarounds, I'll 
investigate those.


On 9/05/2023 2:25 am, Thiago Macieira wrote:
> 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.
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest

More information about the Interest mailing list