Make sure you configure Qt Creator to the Debug assembly configuration (Build menu β Install Build Configuration β Debug). This may seem obvious, but I accidentally chose "Release" and spent hours finding problems with the gdb configuration when Qt Creator silently ignored my breakpoints, despite the fact that I launch the application using the "Start Debugging" command.
Also note that reconfiguring Qt Creator for debug builds may not be sufficient in this case, but you will also need to complete a complete rebuild so that configuration changes are applied throughout your project (yes, that was an extra step I had to do).
Qt Creator can really do warnings with the dialog box if you are trying to debug assemblies with release configurations, for example, Visual Studio has been doing this for a long time. This will avoid silence.
Jonas
source share