I use Qt 5.12.3, Qt Creator 4.9.1, MSVC 2017 x64 and debugger CDB. I'm doing a step-by-step debugging of this code:
try
{
int a(458);
throw a;
}
catch(int& a)
{
qDebug() << a;
}
An exception occurs and it is displayed:
But I don't hit the catch block, the app just stops. How to fix this problem? Thanks.
P.S.:
I saw this message and it does not work: