Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Debugging from Qt Creator - Ubuntu



  • Hello all,

    I am unable to debug from Qt creator.

    At first, I have got the warning as

    Debugging starts
    &"warning: GDB: Failed to set controlling terminal: Inappropriate ioctl for device\n"
    

    Later checking on "Run in terminal", I don't get the warning.

    However, I have added the breakpoint and i don't get hit at all.

    Can you please help me to get this working?

    Thanks!

    Here is the log -

    sStarting debugger "GdbEngine" for ABI "x86-linux-generic-elf-32bit"...
    dStart parameters: 'Run /home/gator/Documents/Gator/Kumara/Phoenix_38/G-CPU/src/fireapp/ui/source/bin/UiApp' mode: 1
    dABI: x86-linux-generic-elf-32bit
    dLanguages: c++ 
    dExecutable: /home/gator/Documents/Gator/Kumara/Phoenix_38/G-CPU/src/fireapp/ui/source/bin/UiApp  [terminal]
    dDirectory: /home/gator/Documents/Gator/Kumara/Phoenix_38/G-CPU/src/fireapp/ui/source
    dDebugger: /usr/bin/gdb
    dProject: /home/gator/Documents/Gator/Kumara/Phoenix_38/G-CPU/src/fireapp/ui/source (built: /home/gator/Documents/Gator/Kumara/Phoenix_38/G-CPU/src/fireapp/ui/source)
    dQML server: 127.0.0.1:3768
    dRemote: :0
    dSysroot: 
    dDebug Source Location: 
    dDebugger settings: 
    dLogTimeStamps: false  (default: false)
    dVerboseLog: false  (default: false)
    dAutoQuit: false  (default: false)
    dFontSizeFollowsEditor: false  (default: false)
    dUseMessageBoxForSignals: true  (default: true)
    dUseAlternatingRowColours: false  (default: false)
    dUseDebuggingHelper: true  (default: true)
    dUseCodeModel: true  (default: true)
    dRaiseOnInterrupt: false  (default: true)  ***
    dStationaryEditorWhileStepping: false  (default: false)
    dSwitchModeOnExit: false  (default: false)
    dBreakpointsFullPath: false  (default: false)
    dCloseBuffersOnExit: false  (default: false)
    dUseAddressInStackView: false  (default: false)
    dUseToolTipsInBreakpointsView: true  (default: true)
    dUseAddressInBreakpointsView: false  (default: false)
    dUseToolTipsInLocalsView: false  (default: false)
    dUseToolTipsInBreakpointsView: true  (default: false)  ***
    dShowThreadNames: false  (default: false)
    dUseToolTips: true  (default: true)
    dBreakEvent:   (default: )
    dBreakOnCrtDbgReport: false  (default: false)
    dSymbolPaths:   (default: )
    dSourcePaths:   (default: )
    dGdbCustomDumperCommands:   (default: )
    dAdditionalArguments:   (default: )
    dAlwaysAdjustColumnWidths: true  (default: true)
    dExtraDumperFile:   (default: )
    dGdbStartupCommands:   (default: )
    dGdbPostAttachCommands:   (default: )
    dLoadGdbDumpers1: true  (default: true)
    dAttemptQuickStart: false  (default: false)
    dIgnoreFirstChanceAccessViolation: false  (default: false)
    dLoadGdbInit: true  (default: true)
    dCDB_Console: false  (default: false)
    dBreakpointCorrection: true  (default: true)
    dIntelFlavor: false  (default: false)
    dIdentifyDebugInfoPackages: false  (default: false)
    dWarnOnReleaseBuilds: true  (default: true)
    dMultiInferior: false  (default: false)
    dUseDynamicType: true  (default: true)
    dTargetAsync: false  (default: false)
    dWatchdogTimeout: 20  (default: 20)
    dAutoEnrichParameters: true  (default: true)
    dAutoDerefPointers: true  (default: true)
    dMaximalStringLength: 10000  (default: 10000)
    dShowQtNamespace: true  (default: true)
    dSortStructMembers: true  (default: true)
    dShowStandardNamespace: true  (default: true)
    dMaximalStackDepth: 20  (default: 20)
    dSelectedPluginBreakpoints: false  (default: false)
    dAdjustBreakpointLocations: true  (default: true)
    dAllPluginBreakpoints: true  (default: true)
    dSkipKnownFrames: false  (default: false)
    dEnableReverseDebugging: false  (default: false)
    dDisplayStringLimit: 100  (default: 100)
    dListSourceFiles: false  (default: false)
    dBreakOnAbort: false  (default: false)
    dShowQmlObjectTree: true  (default: true)
    dBreakOnWarning: false  (default: false)
    dBreakOnFatal: false  (default: false)
    dBreakOnThrow: false  (default: false)
    dBreakOnCatch: false  (default: false)
    dNoPluginBreakpoints: false  (default: false)
    dSelectedPluginBreakpointsPattern: .*  (default: .*)
    dQmlInspector.ShowAppOnTop: false  (default: false)
    dQmlInspector.FromQml: false  (default: false)
    dState changed from DebuggerNotReady(0) to EngineSetupRequested(1) [master]
    dQUEUE: SETUP ENGINE
    dCALL: SETUP ENGINE
    dEXAMINING /home/gator/Documents/Gator/Kumara/Phoenix_38/G-CPU/src/fireapp/ui/source/bin/UiApp
    dELF SECTIONS:  .interp .note.ABI-tag .note.gnu.build-id .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rel.dyn .rel.plt .init .plt .text .fini .rodata .eh_frame_hdr .eh_frame .gcc_except_table .init_array .ctors .dtors .jcr .data.rel.ro .dynamic .got .got.plt .data .bss .comment .debug_aranges .debug_info .debug_abbrev .debug_line .debug_str .debug_loc .debug_ranges .shstrtab .symtab .strtab 
    dTRYING TO START ADAPTER
    
    dENABLING TEST CASE: 0
    dSTARTING /usr/bin/gdb -i mi
    dGDB STARTED, INITIALIZING IT
    <414show version
    <415show debug-file-directory
    <416set print object on
    <417set breakpoint pending on
    <418set print elements 10000
    <419handle SIGSEGV nopass stop print
    <420set unwindonsignal on
    <421set width 0
    <422set height 0
    sSetting up inferior...
    <423set substitute-path /var/tmp/qt-src /home/gator/qt-4.8.4
    <424-interpreter-exec console "set auto-solib-add on"
    <425-interpreter-exec console "python sys.path.insert(1, '/home/gator/qtcreator-3.2.2/share/qtcreator/debugger/')"
    <426-interpreter-exec console "python sys.path.append('/usr/bin/data-directory/python')"
    <427-interpreter-exec console "python from gdbbridge import *"
    >=thread-group-added,id="i1"
    >~"GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04\n"
    >~"Copyright (C) 2012 Free Software Foundation, Inc.\n"
    >~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.  Type \"show copying\"\nand \"show warranty\" for details.\n"
    >~"This GDB was configured as \"i686-linux-gnu\".\nFor bug reporting instructions, please see:\n"
    >~"<http://bugs.launchpad.net/gdb-linaro/>.\n"
    
    >&"show version\n"
    >~"GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04\n"
    >~"Copyright (C) 2012 Free Software Foundation, Inc.\n"
    >~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.  Type \"show copying\"\nand \"show warranty\" for details.\n"
    >~"This GDB was configured as \"i686-linux-gnu\".\nFor bug reporting instructions, please see:\n"
    >~"<http://bugs.launchpad.net/gdb-linaro/>.\n"
    >414^done
    dPARSING VERSION: 414^done
    dSUPPORTED GDB VERSION GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
    dCopyright (C) 2012 Free Software Foundation, Inc.
    dLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    dThis is free software: you are free to change and redistribute it.
    dThere is NO WARRANTY, to the extent permitted by law.  Type "show copying"
    dand "show warranty" for details.
    dThis GDB was configured as "i686-linux-gnu".
    dFor bug reporting instructions, please see:
    d<http://bugs.launchpad.net/gdb-linaro/>.
    dGNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
    dCopyright (C) 2012 Free Software Foundation, Inc.
    dLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    dThis is free software: you are free to change and redistribute it.
    dThere is NO WARRANTY, to the extent permitted by law.  Type "show copying"
    dand "show warranty" for details.
    dThis GDB was configured as "i686-linux-gnu".
    dFor bug reporting instructions, please see:
    d<http://bugs.launchpad.net/gdb-linaro/>.
    dUSING GDB VERSION: 70400, BUILD: 2012
    <428-interpreter-exec console "set target-async off"
    
    >&"show debug-file-directory\n"
    >~"The directory where separate debug symbols are searched for is \"/usr/lib/debug\".\n"
    >415^done
    
    >&"set print object on\n"
    >416^done
    
    >&"set breakpoint pending on\n"
    >417^done
    
    >&"set print elements 10000\n"
    >418^done
    
    >&"handle SIGSEGV nopass stop print\n"
    >~"Signal        Stop\tPrint\tPass to program\tDescription\n"
    >~"SIGSEGV       Yes\tYes\tNo\t\tSegmentation fault\n"
    >419^done
    
    >&"set unwindonsignal on\n"
    >420^done
    
    >&"set width 0\n"
    >421^done
    
    >&"set height 0\n"
    >422^done
    
    >&"set substitute-path /var/tmp/qt-src /home/gator/qt-4.8.4\n"
    >423^done
    
    >424^done
    
    >425^done
    
    >426^done
    
    >~"dumpers=[{type=\"Core__Id\",formats=\"\"},{type=\"CPlusPlus__Identifier\",formats=\"\"},{type=\"std__stack\",formats=\"\"},{type=\"std__multimap\",formats=\"Normal,Compact\"},{type=\"QQmlAccessorProperties__Properties\",formats=\"\"},{type=\"QDir\",formats=\"\"},{type=\"QSharedData\",formats=\"\"},{type=\"Debugger__Internal__GdbMi\",formats=\"\"},{type=\"boost__container__list\",formats=\"\"},{type=\"Utils__FileName\",formats=\"\"},{type=\"std__deque\",formats=\"\"},{type=\"QFixed\",formats=\"\"},{type=\"uint8_t\",formats=\"\"},{type=\"boost__posix_time__ptime\",formats=\"\"},{type=\"QPoint\",formats=\"\"},{type=\"QHash__iterator\",formats=\"\"},{type=\"std____1__vector\",formats=\"\"},{type=\"QMultiMap\",formats=\"Normal,Compact\"},{type=\"QModelIndex\",formats=\"Normal,Enhanced\"},{type=\"QLocale\",formats=\"\"},{type=\"std__set__const_iterator\",formats=\"\"},{type=\"string\",formats=\"\",editable=\"true\"},{type=\"std__set\",formats=\"\"},{type=\"std__unique_ptr\",formats=\"\"},{type=\"QFile\",formats=\"\"},{type=\"wstring\",formats=\"\"},{type=\"QByteArrayData\",formats=\"\"},{type=\"QSizeF\",formats=\"\"},{type=\"QIPv6Address\",formats=\"\"},{type=\"Debugger__Internal__ThreadId\",formats=\"\"},{type=\"Utils__ElfSection\",formats=\"\"},{type=\"Debugger__Internal__DisassemblerLine\",formats=\"\"},{type=\"QMap\",formats=\"Normal,Compact\"},{type=\"std__deque__QNX\",formats=\"\"},{type=\"QChar\",formats=\"\"},{type=\"CPlusPlus__TemplateNameId\",formats=\"\"},{type=\"QQmlRefCount\",formats=\"\"},{type=\"QScriptValue\",formats=\"\"},{type=\"QMetaObject\",formats=\"\"},{type=\"QHostAddress\",formats=\"\"},{type=\"QV4__Value\",formats=\"\"},{type=\"std__map__QNX\",formats=\"\"},{type=\"std__string\",formats=\"Inline,In Separate Window\",editable=\"true\"},{type=\"boost__posix_time__time_duration\",formats=\"\"},{type=\"std____1__shared_ptr\",formats=\"\"},{type=\"CPlusPlus__Internal__Value\",formats=\"\"},{type=\"QFileInfo\",formats=\"\"},{type=\"QHash__const_iterator\",formats=\"\"},{type=\"std____1__string\",formats=\"\"},{type=\"Debugger__Internal__WatchData\",formats=\"\"},{type=\"QTime\",formats=\"\"},{type=\"QXmlStreamStringRef\",formats=\"\"},{type=\"std___Rb_tree_const_iterator\",formats=\"\"},{type=\"QString\",formats=\"Inline,Separate Window\",editable=\"true\"},{type=\"boost__bimaps__bimap\",formats=\"\"},{type=\"QV4__TypedValue\",formats=\"\"},{type=\"std____cxx1998__map\",formats=\"\"},{type=\"QHash\",formats=\"Normal,Compact\"},{type=\"QXmlAttributes\",formats=\"\"},{type=\"std__array\",formats=\"Normal\"},{type=\"QLinkedList\",formats=\"\"},{type=\"QStringData\",formats=\"\"},{type=\"QStack\",formats=\"Normal\"},{type=\"CPlusPlus__Token\",formats=\"\"},{type=\"std__list__QNX\",formats=\"\"},{type=\"Debugger__Internal__BreakpointModelId\",formats=\"\"},{type=\"KDSoapValue1\",formats=\"\"},{type=\"std____1__basic_string\",formats=\"\"},{type=\"std____1__unique_ptr\",formats=\"\"},{type=\"std__stringHelper1\",formats=\"\"},{type=\"std__map__iterator\",formats=\"\"},{type=\"QDate\",formats=\"\"},{type=\"std__multiset\",formats=\"\"},{type=\"std__unordered_map\",formats=\"Normal,Compact\"},{type=\"std____debug__map\",formats=\"\"},{type=\"QTextCodec\",formats=\"\"},{type=\"std__shared_ptr\",formats=\"\"},{type=\"std____1__wstring\",formats=\"\"},{type=\"std__unordered_set\",formats=\"\"},{type=\"QMetaObjectPrivate\",formats=\"\"},{type=\"QByteArray\",formats=\"Inline,As Latin1 in Separate Window,As UTF-8 in Separate Window\"},{type=\"std____debug__list\",formats=\"\"},{type=\"std____cxx1998__set\",formats=\"\"},{type=\"QPixmap\",formats=\"\"},{type=\"__m256\",formats=\"\"},{type=\"std__map\",formats=\"Normal,Compact\"},{type=\"std____debug__stack\",formats=\"\"},{type=\"QTemporaryFile\",formats=\"\"},{type=\"Eigen__Matrix\",formats=\"\"},{type=\"QImage\",formats=\"Normal,Displayed\"},{type=\"QSet\",formats=\"\"},{type=\"std__map__const_iterator\",formats=\"\"},{type=\"QAbstractItemModel\",formats=\"Normal,Enhanced\"},{type=\"QFiniteStack\",formats=\"Normal\"},{type=\"std__set__iterator\",formats=\"\"},{type=\"QTextDocument\",formats=\"\"},{type=\"QTJSC__JSValue\",formats=\"\"},{type=\"__gnu_cxx__hash_set\",formats=\"\"},{type=\"QRegion\",formats=\"\"},{type=\"std__wstring\",formats=\"\"},{type=\"std____1__unordered_set\",formats=\"\"},{type=\"QBasicAtomicInt\",formats=\"\"},{type=\"std____debug__set\",formats=\"\"},{type=\"QDateTime\",formats=\"\"},{type=\"boost__gregorian__date\",formats=\"\"},{type=\"std__set__QNX\",formats=\"\"},{type=\"CPlusPlus__ByteArrayRef\",formats=\"\"},{type=\"std__basic_string\",formats=\"\"},{type=\"boost__shared_ptr\",formats=\"\"},{type=\"std____debug__vector\",formats=\"Normal\"},{type=\"QRectF\",formats=\"\"},{type=\"QAtomicInt\",formats=\"\"},{type=\"__m256i\",formats=\"\"},{type=\"__m256d\",formats=\"\"},{type=\"std__complex\",formats=\"\"},{type=\"std__stringHelper1__QNX\",formats=\"\"},{type=\"int8_t\",formats=\"\"},{type=\"CPlusPlus__StringLiteral\",formats=\"\"},{type=\"boost__optional\",formats=\"\"},{type=\"QHashedString\",formats=\"\"},{type=\"std____1__unordered_map\",formats=\"Normal,Compact\"},{type=\"__m512i\",formats=\"\"},{type=\"__m128i\",formats=\"\"},{type=\"QStringRef\",formats=\"\"},{type=\"__m128d\",formats=\"\"},{type=\"__m512d\",formats=\"\"},{type=\"QTimeZone\",formats=\"\"},{type=\"QSize\",formats=\"\"},{type=\"std____debug__deque\",formats=\"\"},{type=\"QSharedDataPointer\",formats=\"\"},{type=\"QStringList\",formats=\"\"},{type=\"std___Rb_tree_iterator\",formats=\"\"},{type=\"QRegExp\",formats=\"\"},{type=\"std__vector\",formats=\"Normal\",editable=\"true\"},{type=\"QFlags\",formats=\"\"},{type=\"QTextCursor\",formats=\"\"},{type=\"std____debug__unordered_map\",formats=\"Normal,Compact\"},{type=\"QList\",formats=\"Assume Direct Storage,Assume Indirect Storage\"},{type=\"QStandardItem\",formats=\"\"},{type=\"std____debug__unordered_set\",formats=\"\"},{type=\"QSharedPointer\",formats=\"\"},{type=\"QUrl\",formats=\"Inline,Separate Window\"},{type=\"std__list\",formats=\"\"},{type=\"QScopedPointer\",formats=\"\"},{type=\"CPlusPlus__Literal\",formats=\"\"},{type=\"QMapNode\",formats=\"\"},{type=\"std____1__array\",formats=\"Normal\"},{type=\"QXmlStreamAttribute\",formats=\"\"},{type=\"QVariant\",formats=\"\"},{type=\"QV4__String\",formats=\"\"},{type=\"QVector\",formats=\"Normal\",editable=\"true\"},{type=\"Debugger__Internal__WatchItem\",formats=\"\"},{type=\"QWeakPointer\",formats=\"\"},{type=\"__m128\",formats=\"\"},{type=\"QPointF\",formats=\"\"},{type=\"KDSoapValue\",formats=\"\"},{type=\"QRect\",formats=\"\"},{type=\"CPlusPlus__IntegerType\",formats=\"\"},{type=\"std__vector__QNX\",formats=\"\"},{type=\"__gnu_debug___Safe_iterator\",formats=\"\"},{type=\"__m512\",formats=\"\"},{type=\"CPlusPlus__Internal__PPToken\",formats=\"\"},{type=\"QHashNode\",formats=\"Normal,Compact\"},{type=\"QAtomicPointer\",formats=\"\"},{type=\"CPlusPlus__NamedType\",formats=\"\"},]\n"
    >427^done
    dENGINE SUCCESSFULLY STARTED
    dNOTE: ENGINE SETUP OK
    dState changed from EngineSetupRequested(1) to EngineSetupOk(3) [master]
    dQUEUE: SETUP INFERIOR
    dState changed from EngineSetupOk(3) to InferiorSetupRequested(4) [master]
    dQUEUE: SETUP INFERIOR
    
    dCALL: SETUP INFERIOR
    dTaking notice of pid 20492
     Going to attach to 20492
    sSetting breakpoints...
    dSetting breakpoints...
    dATTEMPT BREAKPOINT SYNCHRONIZATION
    dTAKING OWNERSHIP OF BREAKPOINT 16 IN STATE 0
    dTAKING OWNERSHIP OF BREAKPOINT 15 IN STATE 0
    <429-break-insert  -f "\"\":0"
    <430-break-insert  -f "\"mainwidget.cpp\":116"
    dBREAKPOINTS ARE NOT FULLY SYNCHRONIZED
    >428^done
    
    >&"No symbol table is loaded.  Use the \"file\" command.\n"
    >429^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="<PENDING>",pending="\"\":0",times="0",original-location="\"\":0"}
    
    >&"No symbol table is loaded.  Use the \"file\" command.\n"
    >430^done,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="<PENDING>",pending="\"mainwidget.cpp\":116",times="0",original-location="\"mainwidget.cpp\":116"}
    dATTEMPT BREAKPOINT SYNCHRONIZATION
    dBREAKPOINTS ARE SYNCHRONIZED
    dALL COMMANDS DONE; INVOKING CALLBACK
    dNOTE: INFERIOR SETUP OK
    dState changed from InferiorSetupRequested(4) to InferiorSetupOk(6) [master]
    dState changed from InferiorSetupOk(6) to EngineRunRequested(7) [master]
    dQUEUE: RUN ENGINE
    
    dCALL: RUN ENGINE
    <431attach 20492
    dATTEMPT SYNC
    dATTEMPT BREAKPOINT SYNCHRONIZATION
    dBREAKPOINT SYNCHRONIZATION NOT POSSIBLE IN CURRENT STATE
    >&"attach 20492\n"
    >~"Attaching to process 20492\n"
    >=thread-group-started,id="i1",pid="20492"
    sThread group i1 created
    >=thread-created,id="1",group-id="i1"
    sThread 1 created
    >~"Reading symbols from /home/gator/Documents/Gator/Kumara/Phoenix_38/G-CPU/src/fireapp/ui/source/bin/UiApp..."
    sReading /home/gator/Documents/Gator/Kumara/Phoenix_38/G-CPU/src/fireapp/ui/source/bin/UiApp......
    
    >~"done.\n"
    >=library-loaded,id="/lib/ld-linux.so.2",target-name="/lib/ld-linux.so.2",host-name="/lib/ld-linux.so.2",symbols-loaded="0",thread-group="i1"
    sLibrary /lib/ld-linux.so.2 loaded
    >~"Reading symbols from /lib/ld-linux.so.2..."
    sReading /lib/ld-linux.so.2......
    >~"Reading symbols from /usr/lib/debug/lib/i386-linux-gnu/ld-2.15.so..."
    sReading /usr/lib/debug/lib/i386-linux-gnu/ld-2.15.so......
    >~"done.\n"
    >~"done.\n"
    >~"Loaded symbols for /lib/ld-linux.so.2\n"
    >~"0xb77b91d0 in _start () from /lib/ld-linux.so.2\n"
    >*stopped,frame={addr="0xb77b91d0",func="_start",args=[],from="/lib/ld-linux.so.2"},thread-id="1",stopped-threads="all",core="0"
    dNOTE: INFERIOR STOP OK
    sStopped.
    dState changed from EngineRunRequested(7) to InferiorStopOk(14) [master]
    <432importPlainDumpers
    sStopped.
    <433-thread-info
    >431^done
    dINFERIOR ATTACHED
    dNOTE: ENGINE RUN AND INFERIOR STOP OK
    sStopped.
    dState changed from InferiorStopOk(14) to InferiorStopOk(14) [master]
    dNOTE: INFERIOR RUN REQUESTED
    sRun requested...
    dState changed from InferiorStopOk(14) to InferiorRunRequested(10) [master]
    sRunning requested...
    <434-exec-continue
    
    >&"importPlainDumpers\n"
    >~"None\n"
    >432^done
    
    >433^done,threads=[{id="1",target-id="process 20492",name="UiApp",frame={level="0",addr="0xb77b91d0",func="_start",args=[],from="/lib/ld-linux.so.2"},state="stopped",core="0"}],current-thread-id="1"
    <435-stack-list-frames 0 20
    
    >434^running
    dNOTE: INFERIOR RUN OK
    sRunning.
    dState changed from InferiorRunRequested(10) to InferiorRunOk(11) [master]
    >*running,thread-id="all"
    dNOTE: INFERIOR STILL RUNNING IN STATE InferiorRunOk.
    
    >*stopped,reason="signal-received",signal-name="SIGSTOP",signal-meaning="Stopped (signal)",frame={addr="0xb77b91d0",func="_start",args=[],from="/lib/ld-linux.so.2"},thread-id="1",stopped-threads="all",core="0"
    dNOTE: INFERIOR SPONTANEOUS STOP
    sStopped.
    dState changed from InferiorRunOk(11) to InferiorStopOk(14) [master]
     INTERNAL CONTINUE AFTER SIGSTOP FROM STUB
    dNOTE: INFERIOR RUN REQUESTED
    sRun requested...
    dState changed from InferiorStopOk(14) to InferiorRunRequested(10) [master]
    sRunning requested...
    <436-exec-continue
    
    >435^done,stack=[frame={level="0",addr="0xb77b91d0",func="_start",from="/lib/ld-linux.so.2"}]
    
    >436^running
    dNOTE: INFERIOR RUN OK
    sRunning.
    dState changed from InferiorRunRequested(10) to InferiorRunOk(11) [master]
    >*running,thread-id="all"
    dNOTE: INFERIOR STILL RUNNING IN STATE InferiorRunOk.
    
    >*stopped,reason="signal-received",signal-name="SIGSTOP",signal-meaning="Stopped (signal)",frame={addr="0xb77b91d0",func="_start",args=[],from="/lib/ld-linux.so.2"},thread-id="1",stopped-threads="all",core="0"
    dNOTE: INFERIOR SPONTANEOUS STOP
    sStopped.
    dState changed from InferiorRunOk(11) to InferiorStopOk(14) [master]
     INTERNAL CONTINUE AFTER SIGSTOP FROM STUB
    dNOTE: INFERIOR RUN REQUESTED
    sRun requested...
    dState changed from InferiorStopOk(14) to InferiorRunRequested(10) [master]
    sRunning requested...
    <437-exec-continue
    
    >437^running
    dNOTE: INFERIOR RUN OK
    sRunning.
    dState changed from InferiorRunRequested(10) to InferiorRunOk(11) [master]
    >*running,thread-id="all"
    dNOTE: INFERIOR STILL RUNNING IN STATE InferiorRunOk.
    
    >=library-loaded,id="/usr/local/lib/libodb-2.4.so",target-name="/usr/local/lib/libodb-2.4.so",host-name="/usr/local/lib/libodb-2.4.so",symbols-loaded="0",thread-group="i1"
    sLibrary /usr/local/lib/libodb-2.4.so loaded
    >=library-loaded,id="/usr/local/lib/libodb-sqlite-2.4.so",target-name="/usr/local/lib/libodb-sqlite-2.4.so",host-name="/usr/local/lib/libodb-sqlite-2.4.so",symbols-loaded="0",thread-group="i1"
    sLibrary /usr/local/lib/libodb-sqlite-2.4.so loaded
    >=library-loaded,id="/home/gator/qt-4.8.4/lib/libQtWebKit.so.4",target-name="/home/gator/qt-4.8.4/lib/libQtWebKit.so.4",host-name="/home/gator/qt-4.8.4/lib/libQtWebKit.so.4",symbols-loaded="0",thread-group="i1"
    sLibrary /home/gator/qt-4.8.4/lib/libQtWebKit.so.4 loaded
    >=library-loaded,id="/home/gator/qt-4.8.4/lib/libQtGui.so.4",target-name="/home/gator/qt-4.8.4/lib/libQtGui.so.4",host-name="/home/gator/qt-4.8.4/lib/libQtGui.so.4",symbols-loaded="0",thread-group="i1"
    sLibrary /home/gator/qt-4.8.4/lib/libQtGui.so.4 loaded
    >=library-loaded,id="/home/gator/qt-4.8.4/lib/libQtCore.so.4",target-name="/home/gator/qt-4.8.4/lib/libQtCore.so.4",host-name="/home/gator/qt-4.8.4/lib/libQtCore.so.4",symbols-loaded="0",thread-group="i1"
    sLibrary /home/gator/qt-4.8.4/lib/libQtCore.so.4 loaded
    >=library-loaded,id="/lib/i386-linux-gnu/libpthread.so.0",target-name="/lib/i386-linux-gnu/libpthread.so.0",host-name="/lib/i386-linux-gnu/libpthread.so.0",symbols-loaded="0",thread-group="i1"
    sLibrary /lib/i386-linux-gnu/libpthread.so.0 loaded
    >=library-loaded,id="/usr/lib/i386-linux-gnu/libstdc++.so.6",target-name="/usr/lib/i386-linux-gnu/libstdc++.so.6",host-name="/usr/lib/i386-linux-gnu/libstdc++.so.6",symbols-loaded="0",thread-group="i1"
    sLibrary /usr/lib/i386-linux-gnu/libstdc++.so.6 loaded
    >=library-loaded,id="/lib/i386-linux-gnu/libm.so.6",target-name="/lib/i386-linux-gnu/libm.so.6",host-name="/lib/i386-linux-gnu/libm.so.6",symbols-loaded="0",thread-group="i1"
    sLibrary /lib/i386-linux-gnu/libm.so.6 loaded
    >=library-loaded,id="/lib/i386-linux-gnu/libgcc_s.so.1",target-name="/lib/i386-linux-gnu/libgcc_s.so.1",host-name="/lib/i386-linux-gnu/libgcc_s.so.1",symbols-loaded="0",thread-group="i1"
    sLibrary /lib/i386-linux-gnu/libgcc_s.so.1 loaded
    >=library-loaded,id="/lib/i386-linux-gnu/libc.so.6",target-name="/lib/i386-linux-gnu/libc.so.6",host-name="/lib/i386-linux-gnu/libc.so.6",symbols-loaded="0",thread-group="i1"
    sLibrary /lib/i386-linux-gnu/libc.so.6 loaded
    >=library-loaded,id="/lib/i386-linux-gnu/libz.so.1",target-name="/lib/i386-linux-gnu/libz.so.1",host-name="/lib/i386-linux-gnu/libz.so.1",symbols-loaded="0",thread-group="i1"
    sLibrary /lib/i386-linux-gnu/libz.so.1 loaded
    >=library-loaded,id="/lib/i386-linux-gnu/librt.so.1",target-name="/lib/i386-linux-gnu/librt.so.1",host-name="/lib/i386-linux-gnu/librt.so.1",symbols-loaded="0",thread-group="i1"
    sLibrary /lib/i386-linux-gnu/librt.so.1 loaded
    >=library-loaded,id="/usr/lib/i386-linux-gnu/libsqlite3.so.0",target-name="/usr/lib/i386-linux-gnu/libsqlite3.so.0",host-name="/usr/lib/i386-linux-gnu/libsqlite3.so.0",symbols-loaded="0",thread-group="i1"
    sLibrary /usr/lib/i386-linux-gnu/libsqlite3.so.0 loaded
    >=library-loaded,id="/usr/lib/i386-linux-gnu/libX11.so.6",target-name="/usr/lib/i386-linux-gnu/libX11.so.6",host-name="/usr/lib/i386-linux-gnu/libX11.so.6",symbols-loaded="0",thread-group="i1"
    sLibrary /usr/lib/i386-linux-gnu/libX11.so.6 loaded
    >=library-loaded,id="/usr/lib/i386-linux-gnu/libXrender.so.1",target-name="/usr/lib/i386-linux-gnu/libXrender.so.1",host-name="/usr/lib/i386-linux-gnu/libXrender.so.1",symbols-loaded="0",thread-group="i1"
    sLibrary /usr/lib/i386-linux-gnu/libXrender.so.1 loaded
    >=library-loaded,id="/home/gator/qt-4.8.4/lib/libQtNetwork.so.4",target-name="/home/gator/qt-4.8.4/lib/libQtNetwork.so.4",host-name="/home/gator/qt-4.8.4/lib/libQtNetwork.so.4",symbols-loaded="0",thread-group="i1"
    sLibrary /home/gator/qt-4.8.4/lib/libQtNetwork.so.4 loaded
    >=library-loaded,id="/lib/i386-linux-gnu/libglib-2.0.so.0",target-name="/lib/i386-linux-gnu/libglib-2.0.so.0",host-name="/lib/i386-linux-gnu/libglib-2.0.so.0",symbols-loaded="0",thread-group="i1"
    sLibrary /lib/i386-linux-gnu/libglib-2.0.so.0 loaded
    >=library-loaded,id="/usr/lib/i386-linux-gnu/libfreetype.so.6",target-name="/usr/lib/i386-linux-gnu/libfreetype.so.6",host-name="/usr/lib/i386-linux-gnu/libfreetype.so.6",symbols-loaded="0",thread-group="i1"
    sLibrary /usr/lib/i386-linux-gnu/libfreetype.so.6 loaded
    >=library-loaded,id="/usr/lib/i386-linux-gnu/libSM.so.6",target-name="/usr/lib/i386-linux-gnu/libSM.so.6",host-name="/usr/lib/i386-linux-gnu/libSM.so.6",symbols-loaded="0",thread-group="i1"
    sLibrary /usr/lib/i386-linux-gnu/libSM.so.6 loaded
    >=library-loaded,id="/usr/lib/i386-linux-gnu/libICE.so.6",target-name="/usr/lib/i386-linux-gnu/libICE.so.6",host-name="/usr/lib/i386-linux-gnu/libICE.so.6",symbols-loaded="0",thread-group="i1"
    sLibrary /usr/lib/i386-linux-gnu/libICE.so.6 loaded
    >=library-loaded,id="/usr/lib/i386-linux-gnu/libfontconfig.so.1",target-name="/usr/lib/i386-linux-gnu/libfontconfig.so.1",host-name="/usr/lib/i386-linux-gnu/libfontconfig.so.1",symbols-loaded="0",thread-group="i1"
    sLibrary /usr/lib/i386-linux-gnu/libfontconfig.so.1 loaded
    >=library-loaded,id="/usr/lib/i386-linux-gnu/libXext.so.6",target-name="/usr/lib/i386-linux-gnu/libXext.so.6",host-name="/usr/lib/i386-linux-gnu/libXext.so.6",symbols-loaded="0",thread-group="i1"
    sLibrary /usr/lib/i386-linux-gnu/libXext.so.6 loaded
    >=library-loaded,id="/lib/i386-linux-gnu/libdl.so.2",target-name="/lib/i386-linux-gnu/libdl.so.2",host-name="/lib/i386-linux-gnu/libdl.so.2",symbols-loaded="0",thread-group="i1"
    sLibrary /lib/i386-linux-gnu/libdl.so.2 loaded
    >=library-loaded,id="/usr/lib/i386-linux-gnu/libxcb.so.1",target-name="/usr/lib/i386-linux-gnu/libxcb.so.1",host-name="/usr/lib/i386-linux-gnu/libxcb.so.1",symbols-loaded="0",thread-group="i1"
    sLibrary /usr/lib/i386-linux-gnu/libxcb.so.1 loaded
    >=library-loaded,id="/lib/i386-linux-gnu/libpcre.so.3",target-name="/lib/i386-linux-gnu/libpcre.so.3",host-name="/lib/i386-linux-gnu/libpcre.so.3",symbols-loaded="0",thread-group="i1"
    sLibrary /lib/i386-linux-gnu/libpcre.so.3 loaded
    >=library-loaded,id="/lib/i386-linux-gnu/libuuid.so.1",target-name="/lib/i386-linux-gnu/libuuid.so.1",host-name="/lib/i386-linux-gnu/libuuid.so.1",symbols-loaded="0",thread-group="i1"
    sLibrary /lib/i386-linux-gnu/libuuid.so.1 loaded
    >=library-loaded,id="/lib/i386-linux-gnu/libexpat.so.1",target-name="/lib/i386-linux-gnu/libexpat.so.1",host-name="/lib/i386-linux-gnu/libexpat.so.1",symbols-loaded="0",thread-group="i1"
    sLibrary /lib/i386-linux-gnu/libexpat.so.1 loaded
    >=library-loaded,id="/usr/lib/i386-linux-gnu/libXau.so.6",target-name="/usr/lib/i386-linux-gnu/libXau.so.6",host-name="/usr/lib/i386-linux-gnu/libXau.so.6",symbols-loaded="0",thread-group="i1"
    sLibrary /usr/lib/i386-linux-gnu/libXau.so.6 loaded
    >=library-loaded,id="/usr/lib/i386-linux-gnu/libXdmcp.so.6",target-name="/usr/lib/i386-linux-gnu/libXdmcp.so.6",host-name="/usr/lib/i386-linux-gnu/libXdmcp.so.6",symbols-loaded="0",thread-group="i1"
    sLibrary /usr/lib/i386-linux-gnu/libXdmcp.so.6 loaded
    
    >~"[Thread debugging using libthread_db enabled]\n"
    s[Thread debugging using libthread_db enabled]
    >~"Using host libthread_db library \"/lib/i386-linux-gnu/libthread_db.so.1\".\n"
    
    >=thread-created,id="2",group-id="i1"
    sThread 2 created
    >~"[New Thread 0xb493bb40 (LWP 20499)]\n"
    s[New Thread 0xb493bb40 (LWP 20499)]
    >*running,thread-id="all"
    dNOTE: INFERIOR STILL RUNNING IN STATE InferiorRunOk.
    >=library-loaded,id="/usr/lib/i386-linux-gnu/gconv/UTF-16.so",target-name="/usr/lib/i386-linux-gnu/gconv/UTF-16.so",host-name="/usr/lib/i386-linux-gnu/gconv/UTF-16.so",symbols-loaded="0",thread-group="i1"
    sLibrary /usr/lib/i386-linux-gnu/gconv/UTF-16.so loaded
    
    >=library-loaded,id="/home/gator/qt-4.8.4/plugins/imageformats/libqgif.so",target-name="/home/gator/qt-4.8.4/plugins/imageformats/libqgif.so",host-name="/home/gator/qt-4.8.4/plugins/imageformats/libqgif.so",symbols-loaded="0",thread-group="i1"
    sLibrary /home/gator/qt-4.8.4/plugins/imageformats/libqgif.so loaded
    >=library-loaded,id="/home/gator/qt-4.8.4/plugins/imageformats/libqico.so",target-name="/home/gator/qt-4.8.4/plugins/imageformats/libqico.so",host-name="/home/gator/qt-4.8.4/plugins/imageformats/libqico.so",symbols-loaded="0",thread-group="i1"
    sLibrary /home/gator/qt-4.8.4/plugins/imageformats/libqico.so loaded
    >=library-loaded,id="/home/gator/qt-4.8.4/plugins/imageformats/libqjpeg.so",target-name="/home/gator/qt-4.8.4/plugins/imageformats/libqjpeg.so",host-name="/home/gator/qt-4.8.4/plugins/imageformats/libqjpeg.so",symbols-loaded="0",thread-group="i1"
    sLibrary /home/gator/qt-4.8.4/plugins/imageformats/libqjpeg.so loaded
    >=library-loaded,id="/home/gator/qt-4.8.4/plugins/imageformats/libqmng.so",target-name="/home/gator/qt-4.8.4/plugins/imageformats/libqmng.so",host-name="/home/gator/qt-4.8.4/plugins/imageformats/libqmng.so",symbols-loaded="0",thread-group="i1"
    sLibrary /home/gator/qt-4.8.4/plugins/imageformats/libqmng.so loaded
    >=library-loaded,id="/home/gator/qt-4.8.4/plugins/imageformats/libqsvg.so",target-name="/home/gator/qt-4.8.4/plugins/imageformats/libqsvg.so",host-name="/home/gator/qt-4.8.4/plugins/imageformats/libqsvg.so",symbols-loaded="0",thread-group="i1"
    sLibrary /home/gator/qt-4.8.4/plugins/imageformats/libqsvg.so loaded
    >=library-loaded,id="/home/gator/qt-4.8.4/lib/libQtSvg.so.4",target-name="/home/gator/qt-4.8.4/lib/libQtSvg.so.4",host-name="/home/gator/qt-4.8.4/lib/libQtSvg.so.4",symbols-loaded="0",thread-group="i1"
    sLibrary /home/gator/qt-4.8.4/lib/libQtSvg.so.4 loaded
    >=library-loaded,id="/home/gator/qt-4.8.4/plugins/imageformats/libqtga.so",target-name="/home/gator/qt-4.8.4/plugins/imageformats/libqtga.so",host-name="/home/gator/qt-4.8.4/plugins/imageformats/libqtga.so",symbols-loaded="0",thread-group="i1"
    sLibrary /home/gator/qt-4.8.4/plugins/imageformats/libqtga.so loaded
    >=library-loaded,id="/home/gator/qt-4.8.4/plugins/imageformats/libqtiff.so",target-name="/home/gator/qt-4.8.4/plugins/imageformats/libqtiff.so",host-name="/home/gator/qt-4.8.4/plugins/imageformats/libqtiff.so",symbols-loaded="0",thread-group="i1"
    sLibrary /home/gator/qt-4.8.4/plugins/imageformats/libqtiff.so loaded
    
    >=library-loaded,id="/usr/lib/i386-linux-gnu/libXcursor.so.1",target-name="/usr/lib/i386-linux-gnu/libXcursor.so.1",host-name="/usr/lib/i386-linux-gnu/libXcursor.so.1",symbols-loaded="0",thread-group="i1"
    sLibrary /usr/lib/i386-linux-gnu/libXcursor.so.1 loaded
    >=library-loaded,id="/usr/lib/i386-linux-gnu/libXfixes.so.3",target-name="/usr/lib/i386-linux-gnu/libXfixes.so.3",host-name="/usr/lib/i386-linux-gnu/libXfixes.so.3",symbols-loaded="0",thread-group="i1"
    sLibrary /usr/lib/i386-linux-gnu/libXfixes.so.3 loaded
    >=library-loaded,id="/lib/i386-linux-gnu/libnss_compat.so.2",target-name="/lib/i386-linux-gnu/libnss_compat.so.2",host-name="/lib/i386-linux-gnu/libnss_compat.so.2",symbols-loaded="0",thread-group="i1"
    sLibrary /lib/i386-linux-gnu/libnss_compat.so.2 loaded
    >=library-loaded,id="/lib/i386-linux-gnu/libnsl.so.1",target-name="/lib/i386-linux-gnu/libnsl.so.1",host-name="/lib/i386-linux-gnu/libnsl.so.1",symbols-loaded="0",thread-group="i1"
    sLibrary /lib/i386-linux-gnu/libnsl.so.1 loaded
    >=library-loaded,id="/lib/i386-linux-gnu/libnss_nis.so.2",target-name="/lib/i386-linux-gnu/libnss_nis.so.2",host-name="/lib/i386-linux-gnu/libnss_nis.so.2",symbols-loaded="0",thread-group="i1"
    sLibrary /lib/i386-linux-gnu/libnss_nis.so.2 loaded
    >=library-loaded,id="/lib/i386-linux-gnu/libnss_files.so.2",target-name="/lib/i386-linux-gnu/libnss_files.so.2",host-name="/lib/i386-linux-gnu/libnss_files.so.2",symbols-loaded="0",thread-group="i1"
    sLibrary /lib/i386-linux-gnu/libnss_files.so.2 loaded
    
    d
    dNON-CRITICAL TIMEOUT
    


  • Any thoughts? :)


  • Qt Champions 2017

    @kumararajas

    Debugging a release build?



  • Debugging a debug build will do for me..



  • Did you select a the Debug option? and then clicked debug instead of the run button?



  • @RockAndCode Yes, I did!



  • Got this working.

    My bad I was not having debug configuration.

    Added CONFIG +=debug
    to pro file, and got the debugger working.

    Thanks!

    Kumara


Log in to reply