![]() 0 0xb7f03320 in FormDialog::createActions (this=0x80ae2a0) at formdialog.cpp:53.The command where shows you the stack trace, or how we got there. The command list shows you the surrounding source code for the current file:ĥ5 m_OkAction = new OkAction(m_Model, m_View) ĥ6 m_CancelAction = new CancelAction(m_Model, m_View) ĥ7 QHBoxLayout *buttons = new QHBoxLayout(0) However, we still might want to get some context for this error. Gdb shows you not only the filename, and line number, but also the corresponding line in the source code. Program received signal SIGSEGV, Segmentation fault.Ġxb7f03320 in FormDialog::createActions (this=0x80ae2a0) at formdialog.cpp:53 Use the -dograb option to enforce grabbing. Qt: gdb: -nograb added to command-line options. This GDB was configured as "i386-linux".Using host libthread_db library "/lib/tls/libthread_db.so.1". We can use gdb to locate the trouble spot quickly and easily.Ĭopyright 2004 Free Software Foundation, Inc. When your app aborts, or crashes, it is helpful to know (as quickly as possible) exactly where it happened. Imagine you are running a program and, for some mysterious reason, it crashes. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |