Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 2.6.1
-
None
-
Qt 4.8.4
MinGW-builds GCC 4.6.3 rev 2 POSIX SJLJ
Microsoft Windows XP Professional x64 Edition
-
bae81a71812ff69db0ed5a98af92c7d995678b08
Description
1. Create a console application in Qt Creator
2. Switch to Debug build
3. Set breakpoint on the first line in the main() function:
QCoreApplication a(argc, argv);
4. Start debugging
It will miss the breakpoint.
If you add getchar(); before the breakpoint line and debug again, wait for a few moments for debugger to start up and breakpoints to set and then press enter in the console, it will hit the breakpoint.