При отладке при помощи gdb у меня в консоль вылазит следующее:
| Код | GNU gdb 6.8-7mdv2010.0 (Mandriva Linux release 2010.0) Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i586-mandriva-linux-gnu"... (gdb) l 1 #include <QtGui/QApplication> 2 #include "SopcastHolder.h" 3 4 5 int main(int argc, char** argv) 6 { 7 QApplication app(argc, argv); 8 SopcastHolder foo; 9 foo.show(); 10 return app.exec(); (gdb) b 8 Breakpoint 1 at 0x804ee79: file /home/max/projects/SopcastHolder/main.cpp, line 8. (gdb) r Starting program: /home/max/projects/SopcastHolder/build/SopcastHolder [Thread debugging using libthread_db enabled]
[2]+ Stopped gdb SopcastHolder |
После чего отладка завершается. При отладке в QtCreator приложение игнорит все точки останова. |