Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-6010

QML debugging using Symbian device doesn't work with USB connection

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P0: Blocker
    • Resolution: Out of scope
    • Affects Version/s: Qt Creator 2.3.0
    • Fix Version/s: None
    • Labels:
    • Environment:
      Smybian, Windows 7

      Description

      I wasn't able to start Symbian debugging with a Qt Creator 2.3. "Could not connect to the in-process QML debugger: the application is not set up for QML/JS debugging." dialog is presented on Qt Creator.

      I followed the instructions from help - had a plain QML application project created from Qt Creator wizards. Enabled the QML debugging to Project build (qml debug library linked&compiled) and run (QML debugging enabled) settings. Tried also clean all and rebuild all.

      I have installed CODA and it was running in the device in connected state. I also installed QML viewer (tried with it running and not running on background).

      I tried with Nokia E7 with Symbian Anna and Nokia 701 with Symbian Belle using USB cable. A colleague also tried in different machine (VMWare + Windows7 too) and Qt Creator installation with N8 with Anna but didn't work for him either; he was able to start QML debugging at home with WLAN however (at work he wasn't able to do debugging due to different networking configurations).

      I'm having Windows 7 running in VMWare 3.1.3 in Macbook (Snow Leopard).

      Qt Creator version info:
      Qt Creator 2.3.0
      Based on Qt 4.7.4 (32 bit)
      Built on Aug 25 2011 at 15:26:28
      From revision 0c9dc89d0b

      Doing debugging (F5) the project builds and runs and installs (silent installation) to the device and the application to debug starts (circular wait anim on app start briefly appears on device screen) but immediately after this the app is exited.

      Here's a log what is emited to Qt Creator debug view:

      sStarting debugger 'QmlCppEngine' for ABI 'arm-symbian-device-elf-32bit'...
      dStart parameters: 'QMLTest on Symbian Device' mode: 1
      dABI: arm-symbian-device-elf-32bit
      dExecutable: C:\sys\bin\QMLTest.exe -qmljsdebugger=ost
      dUID: 0xe06391b0
      dProject: C:\Users\auotila\qt_projects\QMLTest (built: C:\Users\auotila\qt_projects\QMLTest)
      dRemote: COM7,
      dSymbol file: C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474//epoc32/release/armv5/udeb/QMLTest.exe.sym
      d
      dDebugger settings:
      dUseAlternatingRowColours: false (default: false)
      dFontSizeFollowsEditor: false (default: false)
      dUseMessageBoxForSignals: true (default: true)
      dAutoQuit: false (default: false)
      dLogTimeStamps: false (default: false)
      dVerboseLog: false (default: false)
      dCloseBuffersOnExit: false (default: false)
      dSwitchModeOnExit: false (default: false)
      dUseDebuggingHelper: true (default: true)
      dUseCodeModel: true (default: true)
      dShowThreadNames: false (default: false)
      dUseToolTips: false (default: false)
      dUseToolTipsInLocalsView: false (default: false)
      dUseToolTipsInBreakpointsView: false (default: false)
      dUseAddressInBreakpointsView: false (default: false)
      dUseAddressInStackView: false (default: false)
      dRegisterForPostMortem: false (default: false)
      dLoadGdbInit: true (default: true)
      dScriptFile: (default: )
      dWatchdogTimeout: 20 (default: 20)
      dTargetAsync: false (default: false)
      dMaximalStackDepth: 20 (default: 20)
      dAlwaysAdjustStackColumnWidths: false (default: false)
      dShowStandardNamespace: true (default: true)
      dShowQtNamespace: true (default: true)
      dSortStructMembers: true (default: true)
      dAutoDerefPointers: true (default: true)
      dAlwaysAdjustLocalsColumnWidths: false (default: false)
      dListSourceFiles: false (default: false)
      dSkipKnownFrames: false (default: false)
      dEnableReverseDebugging: false (default: false)
      dAllPluginBreakpoints: true (default: true)
      dSelectedPluginBreakpoints: false (default: false)
      dAdjustBreakpointLocations: true (default: true)
      dAlwaysAdjustBreakpointsColumnWidths: false (default: false)
      dNoPluginBreakpoints: false (default: false)
      dSelectedPluginBreakpointsPattern: .* (default: .*)
      dBreakOnThrow: false (default: false)
      dBreakOnCatch: false (default: false)
      dBreakOnWarning: false (default: false)
      dBreakOnFatal: false (default: false)
      dAlwaysAdjustRegistersColumnWidths: false (default: false)
      dAlwaysAdjustSnapshotsColumnWidths: false (default: false)
      dAlwaysAdjustThreadsColumnWidths: false (default: false)
      dAlwaysAdjustModulesColumnWidths: false (default: false)
      dState changed from DebuggerNotReady(0) to EngineSetupRequested(1).
      dQUEUE: SETUP ENGINE
      dCALL: SETUP ENGINE
      dState changed from DebuggerNotReady(0) to EngineSetupRequested(1).
      dQUEUE: SETUP ENGINE
      dState changed from DebuggerNotReady(0) to EngineSetupRequested(1).
      dQUEUE: SETUP ENGINE
      dCALL: SETUP ENGINE
      dNOTE: ENGINE SETUP OK
      dState changed from EngineSetupRequested(1) to EngineSetupOk(3).
      dQUEUE: SETUP INFERIOR
      dCALL: SETUP ENGINE
      dTRYING TO START ADAPTER
      dENABLING TEST CASE: 0
      dSTARTING C:/QtSDK/pythongdb/python_2.7based/gdb-arm-none-symbianelf.exe -i mi --nx
      dGDB STARTED, INITIALIZING IT
      <452show version
      <453-list-features
      <454set breakpoint pending on
      <455set print elements 10000
      <456set overload-resolution off
      <457handle SIGSEGV nopass stop print
      <458set unwindonsignal on
      <459pwd
      <460set width 0
      <461set height 0
      <462set auto-solib-add on
      <463-interpreter-exec console "maintenance set internal-warning quit no"
      <464-interpreter-exec console "maintenance set internal-error quit no"
      <465-interpreter-exec console "disassemble 0 0"
      <466-interpreter-exec console "python execfile('C:/QtSDK/QtCreator/share/qtcreator/dumper/bridge.py')"
      <467-interpreter-exec console "python execfile('C:/QtSDK/QtCreator/share/qtcreator/dumper/dumper.py')"
      <468-interpreter-exec console "python execfile('C:/QtSDK/QtCreator/share/qtcreator/dumper/qttypes.py')"
      <469-interpreter-exec console "bbsetup"
      dADAPTER SUCCESSFULLY STARTED
      dNOTE: ENGINE SETUP OK
      dState changed from EngineSetupRequested(1) to EngineSetupOk(3).
      dNOTE: ENGINE SETUP OK
      dState changed from EngineSetupRequested(1) to EngineSetupOk(3).
      dQUEUE: SETUP INFERIOR
      dState changed from EngineSetupOk(3) to InferiorSetupRequested(4).
      dQUEUE: SETUP INFERIOR
      dQUEUE: SETUP INFERIOR
      dCALL: SETUP INFERIOR
      dState changed from EngineSetupOk(3) to InferiorSetupRequested(4).
      dQUEUE: SETUP INFERIOR
      dState changed from EngineSetupOk(3) to InferiorSetupRequested(4).
      dQUEUE: SETUP INFERIOR
      dCALL: SETUP INFERIOR
      dNOTE: INFERIOR SETUP OK
      dState changed from InferiorSetupRequested(4) to InferiorSetupOk(6).
      dCALL: SETUP INFERIOR
      sSetting up inferior...
      >=thread-group-added,id="i1"
      >~"GNU gdb (GDB) 7.2\n"
      >~"Copyright (C) 2010 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 \"--host=i686-pc-mingw32 --target=arm-none-symbianelf\".\nFor bug reporting instructions, please see:\n"
      >~"<http://www.gnu.org/software/gdb/bugs/>.\n"
      >&"show version\n"
      >~"GNU gdb (GDB) 7.2\n"
      >~"Copyright (C) 2010 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 \"--host=i686-pc-mingw32 --target=arm-none-symbianelf\".\nFor bug reporting instructions, please see:\n"
      >~"<http://www.gnu.org/software/gdb/bugs/>.\n"
      >452^done
      dPARSING VERSION: 452^done
      d
      dSUPPORTED GDB VERSION GNU gdb (GDB) 7.2
      dCopyright (C) 2010 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 "--host=i686-pc-mingw32 --target=arm-none-symbianelf".
      dFor bug reporting instructions, please see:
      d<http://www.gnu.org/software/gdb/bugs/>.
      dGNU gdb (GDB) 7.2
      dCopyright (C) 2010 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 "--host=i686-pc-mingw32 --target=arm-none-symbianelf".
      dFor bug reporting instructions, please see:
      d<http://www.gnu.org/software/gdb/bugs/>.
      d
      dUSING GDB VERSION: 70200, BUILD: 2010
      >453^done,features=["frozen-varobjs","pending-breakpoints","thread-info","python"]
      dFEATURES: 453^done,data=

      {features=["frozen-varobjs","pending-breakpoints","thread-info","python"]}
      d
      >&"set breakpoint pending on\n"
      >454^done
      >&"set print elements 10000\n"
      >455^done
      >&"set overload-resolution off\n"
      >456^done
      >&"handle SIGSEGV nopass stop print\n"
      >~"Signal Stop\tPrint\tPass to program\tDescription\n"
      >~"SIGSEGV Yes\tYes\tNo\t\tSegmentation fault\n"
      >457^done
      >&"set unwindonsignal on\n"
      >458^done
      >&"pwd\n"
      >~"Working directory C:\\Users\\auotila.\n"
      >459^done
      >&"set width 0\n"
      >460^done
      >&"set height 0\n"
      >461^done
      >&"set auto-solib-add on\n"
      >462^done
      >463^done
      >464^done
      >&"A syntax error in expression, near `0'.\n"
      >465^error,msg="A syntax error in expression, near `0'."
      >466^done
      >467^done
      Thread 1271 reported
      Process started, PID: 0x4f6, thread id: 0x4f7, code segment: 0x480000, data segment: 0x400000.
      <470symbol-file "C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474//epoc32/release/armv5/udeb/QMLTest.exe.sym"
      <471set breakpoint always-inserted on
      <472set breakpoint auto-hw on
      <473set trust-readonly-sections on
      <474set displaced-stepping on
      <475set mem inaccessible-by-default
      <476mem 0x00400000 0x70000000 cache
      <477mem 0x70000000 0x80000000 cache ro
      <478set remotecache on
      <479target remote 127.0.0.1:2226
      >468^done
      >~"dumpers=[{type=\"QLinkedList\",formats=\"\"},{type=\"QSize\",formats=\"\"},{type=\"QFileInfo\",formats=\"\"},{type=\"QAbstractItemModel\",formats=\"\"},{type=\"std__stack\",formats=\"\"},{type=\"QTextDocument\",formats=\"\"},{type=\"QTJSC__JSValue\",formats=\"\"},{type=\"__gnu_cxx__hash_set\",formats=\"\"},{type=\"QStringList\",formats=\"\"},{type=\"QRegion\",formats=\"\"},{type=\"std__wstring\",formats=\"\"},{type=\"QString\",formats=\"Inline,Separate Window\",editable=\"true\"},{type=\"QTextCodec\",formats=\"\"},{type=\"QBasicAtomicInt\",formats=\"\"},{type=\"QScriptValue\",formats=\"\"},{type=\"QTime\",formats=\"\"},{type=\"QSharedData\",formats=\"\"},{type=\"std__vector\",formats=\"\",editable=\"true\"},{type=\"QRegExp\",formats=\"\"},{type=\"QTextCursor\",formats=\"\"},{type=\"QxXmlAttributes\",formats=\"\"},{type=\"QDateTime\",formats=\"\"},{type=\"QList\",formats=\"\"},{type=\"QStandardItem\",formats=\"\"},{type=\"std__deque\",formats=\"\"},{type=\"QFixed\",formats=\"\"},{type=\"QHash\",formats=\"\"},{type=\"QSharedPointer\",formats=\"\"},{type=\"QUrl\",formats=\"\"},{type=\"std__set\",formats=\"\"},{type=\"std__list\",formats=\"\"},{type=\"std__basic_string\",formats=\"\"},{type=\"QPoint\",formats=\"\"},{type=\"QStack\",formats=\"\"},{type=\"QScopedPointer\",formats=\"\"},{type=\"QRectF\",formats=\"\"},{type=\"QMultiMap\",formats=\"\"},{type=\"QMapNode\",formats=\"\"},{type=\"QObject\",formats=\"\"},{type=\"QHostAddress\",formats=\"\"},{type=\"QLocale\",formats=\"\"},{type=\"QSharedDataPointer\",formats=\"\"},{type=\"QVariant\",formats=\"\"},{type=\"string\",formats=\"\",editable=\"true\"},{type=\"QBasicAtomicPointer\",formats=\"\"},{type=\"QVector\",formats=\"\",editable=\"true\"},{type=\"QDate\",formats=\"\"},{type=\"QFile\",formats=\"\"},{type=\"QAtomicInt\",formats=\"\"},{type=\"wstring\",formats=\"\"},{type=\"QWeakPointer\",formats=\"\"},{type=\"QSizeF\",formats=\"\"},{type=\"__m128\",formats=\"As Floats,As Doubles\"},{type=\"boost__optional\",formats=\"\"},{type=\"TBuf\",formats=\"\"},{type=\"QPointF\",formats=\"\"},{type=\"TLitC\",formats=\"\"},{type=\"QRect\",formats=\"\"},{type=\"QByteArray\",formats=\"\"},{type=\"QMap\",formats=\"\"},{type=\"boost__shared_ptr\",formats=\"\"},{type=\"QChar\",formats=\"\"},{type=\"QDir\",formats=\"\"},{type=\"QPixmap\",formats=\"\"},{type=\"QFlags\",formats=\"\"},{type=\"std__map\",formats=\"\"},{type=\"QHashNode\",formats=\"\"},{type=\"QTemporaryFile\",formats=\"\"},{type=\"QModelIndex\",formats=\"\"},{type=\"Eigen__Matrix\",formats=\"\"},{type=\"std__string\",formats=\"\",editable=\"true\"},{type=\"QImage\",formats=\"Normal,Displayed\"},{type=\"QSet\",formats=\"\"},],hasInferiorThreadList=\"0\"\n"
      >469^done
      >&"symbol-file \"C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474//epoc32/release/armv5/udeb/QMLTest.exe.sym\"\n"
      >~"Reading symbols from C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474//epoc32/release/armv5/udeb/QMLTest.exe.sym..."
      sReading C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474//epoc32/release/armv5/udeb/QMLTest.exe.sym......
      >~"done.\n"
      >470^done
      >&"set breakpoint always-inserted on\n"
      >471^done
      >&"set breakpoint auto-hw on\n"
      >472^done
      >&"set trust-readonly-sections on\n"
      >473^done
      >&"set displaced-stepping on\n"
      >474^done
      >&"set mem inaccessible-by-default\n"
      >475^done
      >&"mem 0x00400000 0x70000000 cache\n"
      >476^done
      >&"mem 0x70000000 0x80000000 cache ro\n"
      >477^done
      >&"set remotecache on\n"
      >478^done
      >&"target remote 127.0.0.1:2226\n"
      >~"Remote debugging using 127.0.0.1:2226\n"
      >&"warning: limiting remote suggested packet size (131072 bytes) to 16384\n"
      limiting remote suggested packet size (131072 bytes) to 16384

      >=thread-group-started,id="i1",pid="42000"
      sThread group i1 created
      dTaking notice of pid 42000
      >=thread-created,id="1",group-id="i1"
      sThread 1 created
      >~"0x00000004 in ?? ()\n"
      >*stopped,frame={addr="0x00000004",func="??",args=[]},thread-id="1",stopped-threads="all"
      >479^done
      <480maint print msymbols C:/Users/auotila/AppData/Local/Temp/gdb_ns_.nb4704
      >&"maint print msymbols C:/Users/auotila/AppData/Local/Temp/gdb_ns_.nb4704\n"
      >480^done
      dFOUND NON-NAMESPACED QT
      dNOTE: INFERIOR SETUP OK
      dState changed from InferiorSetupRequested(4) to InferiorSetupOk(6).
      dNOTE: INFERIOR SETUP OK
      dState changed from InferiorSetupRequested(4) to InferiorSetupOk(6).
      dState changed from InferiorSetupOk(6) to EngineRunRequested(7).
      dQUEUE: RUN ENGINE
      dCALL: RUN ENGINE
      dState changed from InferiorSetupOk(6) to EngineRunRequested(7).
      dQUEUE: RUN ENGINE
      dState changed from InferiorSetupOk(6) to EngineRunRequested(7).
      dQUEUE: RUN ENGINE
      dCALL: RUN ENGINE
      dCALL: RUN ENGINE
      dNOTE: ENGINE RUN AND INFERIOR STOP OK
      dState changed from EngineRunRequested(7) to InferiorStopOk(14).
      dNOTE: INFERIOR RUN REQUESTED
      dState changed from InferiorStopOk(14) to InferiorRunRequested(10).
      sRunning requested...
      <481-exec-continue
      >481^running
      dNOTE: INFERIOR RUN OK
      dState changed from InferiorRunRequested(10) to InferiorRunOk(11).
      >*running,thread-id="all"
      [Qt Message] Qml debugging is enabled. Only use this in a safe environment!

      Thread 1272 reported
      dNOTE: ENGINE RUN FAILED
      dState changed from EngineRunRequested(7) to EngineRunFailed(8).
      dQUIT DEBUGGER REQUESTED
      dState changed from InferiorRunOk(11) to InferiorStopRequested(13).
      dCALL: INTERRUPT INFERIOR
      sStop requested...
      dTRYING TO INTERRUPT INFERIOR
      [Qt Message] "QDeclarativeDebugServer: Ignoring "-qmljsdebugger=ost". Remote debugger plugin has not been found."

      Thread 1271 stopped: 'Suspended':
      Thread 1272 stopped: 'Suspended':
      >=thread-created,id="2",group-id="i1"
      sThread 2 created
      >~"[New Thread 1272]\n"
      s[New Thread 1272]
      >~"[Switching to Thread 1272]\n"
      >*stopped,reason="signal-received",signal-name="SIGTRAP",signal-meaning="Trace/breakpoint trap",frame={addr="0x80485104",func="??",args=[]},thread-id="2",stopped-threads="all"
      dNOTE: INFERIOR STOP OK
      dNOTE: ... WHILE DYING.
      dNOTE: ... FORWARDING TO 'STOP OK'.
      dState changed from InferiorStopRequested(13) to InferiorStopOk(14).
      dState changed from InferiorStopOk(14) to InferiorShutdownRequested(17).
      dQUEUE: SHUTDOWN INFERIOR
      dNOTE: ... IGNORING STOP MESSAGE
      >=thread-selected,id="2"
      sThread 2 selected
      dCALL: SHUTDOWN INFERIOR
      <482kill
      CODA disconnected
      eCannot write to gdb: No connection ($W00#b7 )
      >&"kill\n"
      >~"Kill the program being debugged? (y or n) [answered Y; input not from terminal]\n"
      >=thread-group-exited,id="i1"
      sThread group i1 exited
      >482^done
      dINFERIOR SUCCESSFULLY SHUT DOWN
      dState changed from InferiorShutdownRequested(17) to InferiorShutdownOk(19).
      dNOTE: ENGINE RUN FAILED
      dState changed from EngineRunRequested(7) to EngineRunFailed(8).
      dState changed from EngineRunFailed(8) to EngineShutdownRequested(20).
      dQUEUE: SHUTDOWN ENGINE
      dCALL: SHUTDOWN ENGINE
      dState changed from EngineRunFailed(8) to EngineShutdownRequested(20).
      dNOTE: ENGINE SHUTDOWN OK
      dState changed from EngineShutdownRequested(20) to EngineShutdownOk(22).
      dState changed from EngineShutdownOk(22) to DebuggerFinished(23).
      dState changed from InferiorShutdownOk(19) to EngineShutdownRequested(20).
      dINITIATE GDBENGINE SHUTDOWN IN STATE 0, PROC: 2
      <483-gdb-exit
      CODA disconnected
      >483^exit
      dGDB CLAIMS EXIT; WAITING
      dGDB PROCESS FINISHED, status 0, code 0
      dNOTE: ENGINE SHUTDOWN OK
      dState changed from EngineShutdownRequested(20) to EngineShutdownOk(22).
      dState changed from EngineShutdownOk(22) to DebuggerFinished(23).
      dNOTE: ENGINE SHUTDOWN OK
      dState changed from EngineShutdownRequested(20) to EngineShutdownOk(22).
      dState changed from EngineShutdownOk(22) to DebuggerFinished(23).
      dQUEUE: FINISH DEBUGGER
      dNOTE: FINISH DEBUGGER
      dHANDLE RUNCONTROL FINISHED
      sDebugger finished.
      sStarting debugger 'QmlCppEngine' for ABI 'arm-symbian-device-elf-32bit'...
      dStart parameters: 'QMLTest on Symbian Device' mode: 1
      dABI: arm-symbian-device-elf-32bit
      dExecutable: C:\sys\bin\QMLTest.exe -qmljsdebugger=ost
      dUID: 0xe06391b0
      dProject: C:\Users\auotila\qt_projects\QMLTest (built: C:\Users\auotila\qt_projects\QMLTest)
      dRemote: COM7,
      dSymbol file: C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474//epoc32/release/armv5/udeb/QMLTest.exe.sym
      d
      dDebugger settings:
      dUseAlternatingRowColours: false (default: false)
      dFontSizeFollowsEditor: false (default: false)
      dUseMessageBoxForSignals: true (default: true)
      dAutoQuit: false (default: false)
      dLogTimeStamps: false (default: false)
      dVerboseLog: false (default: false)
      dCloseBuffersOnExit: false (default: false)
      dSwitchModeOnExit: false (default: false)
      dUseDebuggingHelper: true (default: true)
      dUseCodeModel: true (default: true)
      dShowThreadNames: false (default: false)
      dUseToolTips: false (default: false)
      dUseToolTipsInLocalsView: false (default: false)
      dUseToolTipsInBreakpointsView: false (default: false)
      dUseAddressInBreakpointsView: false (default: false)
      dUseAddressInStackView: false (default: false)
      dRegisterForPostMortem: false (default: false)
      dLoadGdbInit: true (default: true)
      dScriptFile: (default: )
      dWatchdogTimeout: 20 (default: 20)
      dTargetAsync: false (default: false)
      dMaximalStackDepth: 20 (default: 20)
      dAlwaysAdjustStackColumnWidths: false (default: false)
      dShowStandardNamespace: true (default: true)
      dShowQtNamespace: true (default: true)
      dSortStructMembers: true (default: true)
      dAutoDerefPointers: true (default: true)
      dAlwaysAdjustLocalsColumnWidths: false (default: false)
      dListSourceFiles: false (default: false)
      dSkipKnownFrames: false (default: false)
      dEnableReverseDebugging: false (default: false)
      dAllPluginBreakpoints: true (default: true)
      dSelectedPluginBreakpoints: false (default: false)
      dAdjustBreakpointLocations: true (default: true)
      dAlwaysAdjustBreakpointsColumnWidths: false (default: false)
      dNoPluginBreakpoints: false (default: false)
      dSelectedPluginBreakpointsPattern: .* (default: .*)
      dBreakOnThrow: false (default: false)
      dBreakOnCatch: false (default: false)
      dBreakOnWarning: false (default: false)
      dBreakOnFatal: false (default: false)
      dAlwaysAdjustRegistersColumnWidths: false (default: false)
      dAlwaysAdjustSnapshotsColumnWidths: false (default: false)
      dAlwaysAdjustThreadsColumnWidths: false (default: false)
      dAlwaysAdjustModulesColumnWidths: false (default: false)
      dState changed from DebuggerNotReady(0) to EngineSetupRequested(1).
      dQUEUE: SETUP ENGINE
      dCALL: SETUP ENGINE
      dState changed from DebuggerNotReady(0) to EngineSetupRequested(1).
      dQUEUE: SETUP ENGINE
      dState changed from DebuggerNotReady(0) to EngineSetupRequested(1).
      dQUEUE: SETUP ENGINE
      dCALL: SETUP ENGINE
      dNOTE: ENGINE SETUP OK
      dState changed from EngineSetupRequested(1) to EngineSetupOk(3).
      dQUEUE: SETUP INFERIOR
      dCALL: SETUP ENGINE
      dTRYING TO START ADAPTER
      dENABLING TEST CASE: 0
      dSTARTING C:/QtSDK/pythongdb/python_2.7based/gdb-arm-none-symbianelf.exe -i mi --nx
      dGDB STARTED, INITIALIZING IT
      <484show version
      <485-list-features
      <486set breakpoint pending on
      <487set print elements 10000
      <488set overload-resolution off
      <489handle SIGSEGV nopass stop print
      <490set unwindonsignal on
      <491pwd
      <492set width 0
      <493set height 0
      <494set auto-solib-add on
      <495-interpreter-exec console "maintenance set internal-warning quit no"
      <496-interpreter-exec console "maintenance set internal-error quit no"
      <497-interpreter-exec console "disassemble 0 0"
      <498-interpreter-exec console "python execfile('C:/QtSDK/QtCreator/share/qtcreator/dumper/bridge.py')"
      <499-interpreter-exec console "python execfile('C:/QtSDK/QtCreator/share/qtcreator/dumper/dumper.py')"
      <500-interpreter-exec console "python execfile('C:/QtSDK/QtCreator/share/qtcreator/dumper/qttypes.py')"
      <501-interpreter-exec console "bbsetup"
      dADAPTER SUCCESSFULLY STARTED
      dNOTE: ENGINE SETUP OK
      dState changed from EngineSetupRequested(1) to EngineSetupOk(3).
      dNOTE: ENGINE SETUP OK
      dState changed from EngineSetupRequested(1) to EngineSetupOk(3).
      dQUEUE: SETUP INFERIOR
      dState changed from EngineSetupOk(3) to InferiorSetupRequested(4).
      dQUEUE: SETUP INFERIOR
      dQUEUE: SETUP INFERIOR
      dCALL: SETUP INFERIOR
      dState changed from EngineSetupOk(3) to InferiorSetupRequested(4).
      dQUEUE: SETUP INFERIOR
      dState changed from EngineSetupOk(3) to InferiorSetupRequested(4).
      dQUEUE: SETUP INFERIOR
      dCALL: SETUP INFERIOR
      dNOTE: INFERIOR SETUP OK
      dState changed from InferiorSetupRequested(4) to InferiorSetupOk(6).
      dCALL: SETUP INFERIOR
      sSetting up inferior...
      >=thread-group-added,id="i1"
      >~"GNU gdb (GDB) 7.2\n"
      >~"Copyright (C) 2010 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 \"--host=i686-pc-mingw32 --target=arm-none-symbianelf\".\nFor bug reporting instructions, please see:\n"
      >~"<http://www.gnu.org/software/gdb/bugs/>.\n"
      >&"show version\n"
      >~"GNU gdb (GDB) 7.2\n"
      >~"Copyright (C) 2010 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 \"--host=i686-pc-mingw32 --target=arm-none-symbianelf\".\nFor bug reporting instructions, please see:\n"
      >~"<http://www.gnu.org/software/gdb/bugs/>.\n"
      >484^done
      dPARSING VERSION: 484^done
      d
      dSUPPORTED GDB VERSION GNU gdb (GDB) 7.2
      dCopyright (C) 2010 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 "--host=i686-pc-mingw32 --target=arm-none-symbianelf".
      dFor bug reporting instructions, please see:
      d<http://www.gnu.org/software/gdb/bugs/>.
      dGNU gdb (GDB) 7.2
      dCopyright (C) 2010 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 "--host=i686-pc-mingw32 --target=arm-none-symbianelf".
      dFor bug reporting instructions, please see:
      d<http://www.gnu.org/software/gdb/bugs/>.
      d
      dUSING GDB VERSION: 70200, BUILD: 2010
      >485^done,features=["frozen-varobjs","pending-breakpoints","thread-info","python"]
      dFEATURES: 485^done,data={features=["frozen-varobjs","pending-breakpoints","thread-info","python"]}

      d
      >&"set breakpoint pending on\n"
      >486^done
      >&"set print elements 10000\n"
      >487^done
      >&"set overload-resolution off\n"
      >488^done
      >&"handle SIGSEGV nopass stop print\n"
      >~"Signal Stop\tPrint\tPass to program\tDescription\n"
      >~"SIGSEGV Yes\tYes\tNo\t\tSegmentation fault\n"
      >489^done
      >&"set unwindonsignal on\n"
      >490^done
      >&"pwd\n"
      >~"Working directory C:\\Users\\auotila.\n"
      >491^done
      >&"set width 0\n"
      >492^done
      >&"set height 0\n"
      >493^done
      >&"set auto-solib-add on\n"
      >494^done
      >495^done
      >496^done
      >&"A syntax error in expression, near `0'.\n"
      >497^error,msg="A syntax error in expression, near `0'."
      >498^done
      >499^done
      Thread 1303 reported
      Process started, PID: 0x516, thread id: 0x517, code segment: 0x480000, data segment: 0x400000.
      <502symbol-file "C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474//epoc32/release/armv5/udeb/QMLTest.exe.sym"
      <503set breakpoint always-inserted on
      <504set breakpoint auto-hw on
      <505set trust-readonly-sections on
      <506set displaced-stepping on
      <507set mem inaccessible-by-default
      <508mem 0x00400000 0x70000000 cache
      <509mem 0x70000000 0x80000000 cache ro
      <510set remotecache on
      <511target remote 127.0.0.1:2226
      >500^done
      >~"dumpers=[

      {type=\"QLinkedList\",formats=\"\"}

      ,

      {type=\"QSize\",formats=\"\"}

      ,

      {type=\"QFileInfo\",formats=\"\"}

      ,

      {type=\"QAbstractItemModel\",formats=\"\"}

      ,

      {type=\"std__stack\",formats=\"\"}

      ,

      {type=\"QTextDocument\",formats=\"\"}

      ,

      {type=\"QTJSC__JSValue\",formats=\"\"}

      ,

      {type=\"__gnu_cxx__hash_set\",formats=\"\"}

      ,

      {type=\"QStringList\",formats=\"\"}

      ,

      {type=\"QRegion\",formats=\"\"}

      ,

      {type=\"std__wstring\",formats=\"\"}

      ,

      {type=\"QString\",formats=\"Inline,Separate Window\",editable=\"true\"}

      ,

      {type=\"QTextCodec\",formats=\"\"}

      ,

      {type=\"QBasicAtomicInt\",formats=\"\"}

      ,

      {type=\"QScriptValue\",formats=\"\"}

      ,

      {type=\"QTime\",formats=\"\"}

      ,

      {type=\"QSharedData\",formats=\"\"}

      ,

      {type=\"std__vector\",formats=\"\",editable=\"true\"}

      ,

      {type=\"QRegExp\",formats=\"\"}

      ,

      {type=\"QTextCursor\",formats=\"\"}

      ,

      {type=\"QxXmlAttributes\",formats=\"\"}

      ,

      {type=\"QDateTime\",formats=\"\"}

      ,

      {type=\"QList\",formats=\"\"}

      ,

      {type=\"QStandardItem\",formats=\"\"}

      ,

      {type=\"std__deque\",formats=\"\"}

      ,

      {type=\"QFixed\",formats=\"\"}

      ,

      {type=\"QHash\",formats=\"\"}

      ,

      {type=\"QSharedPointer\",formats=\"\"}

      ,

      {type=\"QUrl\",formats=\"\"}

      ,

      {type=\"std__set\",formats=\"\"}

      ,

      {type=\"std__list\",formats=\"\"}

      ,

      {type=\"std__basic_string\",formats=\"\"}

      ,

      {type=\"QPoint\",formats=\"\"}

      ,

      {type=\"QStack\",formats=\"\"}

      ,

      {type=\"QScopedPointer\",formats=\"\"}

      ,

      {type=\"QRectF\",formats=\"\"}

      ,

      {type=\"QMultiMap\",formats=\"\"}

      ,

      {type=\"QMapNode\",formats=\"\"}

      ,

      {type=\"QObject\",formats=\"\"}

      ,

      {type=\"QHostAddress\",formats=\"\"}

      ,

      {type=\"QLocale\",formats=\"\"}

      ,

      {type=\"QSharedDataPointer\",formats=\"\"}

      ,

      {type=\"QVariant\",formats=\"\"}

      ,

      {type=\"string\",formats=\"\",editable=\"true\"}

      ,

      {type=\"QBasicAtomicPointer\",formats=\"\"}

      ,

      {type=\"QVector\",formats=\"\",editable=\"true\"}

      ,

      {type=\"QDate\",formats=\"\"}

      ,

      {type=\"QFile\",formats=\"\"}

      ,

      {type=\"QAtomicInt\",formats=\"\"}

      ,

      {type=\"wstring\",formats=\"\"}

      ,

      {type=\"QWeakPointer\",formats=\"\"}

      ,

      {type=\"QSizeF\",formats=\"\"}

      ,

      {type=\"__m128\",formats=\"As Floats,As Doubles\"}

      ,

      {type=\"boost__optional\",formats=\"\"}

      ,

      {type=\"TBuf\",formats=\"\"}

      ,

      {type=\"QPointF\",formats=\"\"}

      ,

      {type=\"TLitC\",formats=\"\"}

      ,

      {type=\"QRect\",formats=\"\"}

      ,

      {type=\"QByteArray\",formats=\"\"}

      ,

      {type=\"QMap\",formats=\"\"}

      ,

      {type=\"boost__shared_ptr\",formats=\"\"}

      ,

      {type=\"QChar\",formats=\"\"}

      ,

      {type=\"QDir\",formats=\"\"}

      ,

      {type=\"QPixmap\",formats=\"\"}

      ,

      {type=\"QFlags\",formats=\"\"}

      ,

      {type=\"std__map\",formats=\"\"}

      ,

      {type=\"QHashNode\",formats=\"\"}

      ,

      {type=\"QTemporaryFile\",formats=\"\"}

      ,

      {type=\"QModelIndex\",formats=\"\"}

      ,

      {type=\"Eigen__Matrix\",formats=\"\"}

      ,

      {type=\"std__string\",formats=\"\",editable=\"true\"}

      ,

      {type=\"QImage\",formats=\"Normal,Displayed\"}

      ,

      {type=\"QSet\",formats=\"\"}

      ,],hasInferiorThreadList=\"0\"\n"
      >501^done
      >&"symbol-file \"C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474//epoc32/release/armv5/udeb/QMLTest.exe.sym\"\n"
      >~"Reading symbols from C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474//epoc32/release/armv5/udeb/QMLTest.exe.sym..."
      sReading C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474//epoc32/release/armv5/udeb/QMLTest.exe.sym......
      >~"done.\n"
      >502^done
      >&"set breakpoint always-inserted on\n"
      >503^done
      >&"set breakpoint auto-hw on\n"
      >504^done
      >&"set trust-readonly-sections on\n"
      >505^done
      >&"set displaced-stepping on\n"
      >506^done
      >&"set mem inaccessible-by-default\n"
      >507^done
      >&"mem 0x00400000 0x70000000 cache\n"
      >508^done
      >&"mem 0x70000000 0x80000000 cache ro\n"
      >509^done
      >&"set remotecache on\n"
      >510^done
      >&"target remote 127.0.0.1:2226\n"
      >~"Remote debugging using 127.0.0.1:2226\n"
      >&"warning: limiting remote suggested packet size (131072 bytes) to 16384\n"
      limiting remote suggested packet size (131072 bytes) to 16384

      >=thread-group-started,id="i1",pid="42000"
      sThread group i1 created
      dTaking notice of pid 42000
      >=thread-created,id="1",group-id="i1"
      sThread 1 created
      >~"0x00000004 in ?? ()\n"
      >*stopped,frame=

      {addr="0x00000004",func="??",args=[]}

      ,thread-id="1",stopped-threads="all"
      >511^done
      <512maint print msymbols C:/Users/auotila/AppData/Local/Temp/gdb_ns_.OZ4704
      >&"maint print msymbols C:/Users/auotila/AppData/Local/Temp/gdb_ns_.OZ4704\n"
      >512^done
      dFOUND NON-NAMESPACED QT
      dNOTE: INFERIOR SETUP OK
      dState changed from InferiorSetupRequested(4) to InferiorSetupOk(6).
      dNOTE: INFERIOR SETUP OK
      dState changed from InferiorSetupRequested(4) to InferiorSetupOk(6).
      dState changed from InferiorSetupOk(6) to EngineRunRequested(7).
      dQUEUE: RUN ENGINE
      dCALL: RUN ENGINE
      dState changed from InferiorSetupOk(6) to EngineRunRequested(7).
      dQUEUE: RUN ENGINE
      dState changed from InferiorSetupOk(6) to EngineRunRequested(7).
      dQUEUE: RUN ENGINE
      dCALL: RUN ENGINE
      dCALL: RUN ENGINE
      dNOTE: ENGINE RUN AND INFERIOR STOP OK
      dState changed from EngineRunRequested(7) to InferiorStopOk(14).
      dNOTE: INFERIOR RUN REQUESTED
      dState changed from InferiorStopOk(14) to InferiorRunRequested(10).
      sRunning requested...
      <513-exec-continue
      >513^running
      dNOTE: INFERIOR RUN OK
      dState changed from InferiorRunRequested(10) to InferiorRunOk(11).
      >*running,thread-id="all"
      [Qt Message] Qml debugging is enabled. Only use this in a safe environment!

      Thread 1304 reported
      dNOTE: ENGINE RUN FAILED
      dState changed from EngineRunRequested(7) to EngineRunFailed(8).
      dQUIT DEBUGGER REQUESTED
      dState changed from InferiorRunOk(11) to InferiorStopRequested(13).
      dCALL: INTERRUPT INFERIOR
      sStop requested...
      dTRYING TO INTERRUPT INFERIOR
      [Qt Message] "QDeclarativeDebugServer: Ignoring "-qmljsdebugger=ost". Remote debugger plugin has not been found."

      Thread 1303 stopped: 'Suspended':
      Thread 1304 stopped: 'Suspended':
      >=thread-created,id="2",group-id="i1"
      sThread 2 created
      >~"[New Thread 1304]\n"
      s[New Thread 1304]
      >~"[Switching to Thread 1304]\n"
      >*stopped,reason="signal-received",signal-name="SIGTRAP",signal-meaning="Trace/breakpoint trap",frame=

      {addr="0x8048587c",func="??",args=[]}

      ,thread-id="2",stopped-threads="all"
      dNOTE: INFERIOR STOP OK
      dNOTE: ... WHILE DYING.
      dNOTE: ... FORWARDING TO 'STOP OK'.
      dState changed from InferiorStopRequested(13) to InferiorStopOk(14).
      dState changed from InferiorStopOk(14) to InferiorShutdownRequested(17).
      dQUEUE: SHUTDOWN INFERIOR
      dNOTE: ... IGNORING STOP MESSAGE
      >=thread-selected,id="2"
      sThread 2 selected
      dCALL: SHUTDOWN INFERIOR
      <514kill
      >&"kill\n"
      >~"Kill the program being debugged? (y or n) [answered Y; input not from terminal]\n"
      >=thread-group-exited,id="i1"
      sThread group i1 exited
      >514^done
      dINFERIOR SUCCESSFULLY SHUT DOWN
      dState changed from InferiorShutdownRequested(17) to InferiorShutdownOk(19).
      dNOTE: ENGINE RUN FAILED
      dState changed from EngineRunRequested(7) to EngineRunFailed(8).
      dState changed from EngineRunFailed(8) to EngineShutdownRequested(20).
      dQUEUE: SHUTDOWN ENGINE
      dCALL: SHUTDOWN ENGINE
      dState changed from EngineRunFailed(8) to EngineShutdownRequested(20).
      dNOTE: ENGINE SHUTDOWN OK
      dState changed from EngineShutdownRequested(20) to EngineShutdownOk(22).
      dState changed from EngineShutdownOk(22) to DebuggerFinished(23).
      dState changed from InferiorShutdownOk(19) to EngineShutdownRequested(20).
      dINITIATE GDBENGINE SHUTDOWN IN STATE 0, PROC: 2
      <515-gdb-exit
      CODA disconnected
      CODA disconnected
      >515^exit
      dGDB CLAIMS EXIT; WAITING
      dGDB PROCESS FINISHED, status 0, code 0
      dNOTE: ENGINE SHUTDOWN OK
      dState changed from EngineShutdownRequested(20) to EngineShutdownOk(22).
      dState changed from EngineShutdownOk(22) to DebuggerFinished(23).
      dNOTE: ENGINE SHUTDOWN OK
      dState changed from EngineShutdownRequested(20) to EngineShutdownOk(22).
      dState changed from EngineShutdownOk(22) to DebuggerFinished(23).
      dQUEUE: FINISH DEBUGGER
      dNOTE: FINISH DEBUGGER
      dHANDLE RUNCONTROL FINISHED
      sDebugger finished.

      Some other log in the same pane (Debugger log):
      516show version
      517-list-features
      518set breakpoint pending on
      519set print elements 10000
      520set overload-resolution off
      521handle SIGSEGV nopass stop print
      522set unwindonsignal on
      523pwd
      524set width 0
      525set height 0
      526set auto-solib-add on
      527-interpreter-exec console "maintenance set internal-warning quit no"
      528-interpreter-exec console "maintenance set internal-error quit no"
      529-interpreter-exec console "disassemble 0 0"
      530-interpreter-exec console "python execfile('C:/QtSDK/QtCreator/share/qtcreator/dumper/bridge.py')"
      531-interpreter-exec console "python execfile('C:/QtSDK/QtCreator/share/qtcreator/dumper/dumper.py')"
      532-interpreter-exec console "python execfile('C:/QtSDK/QtCreator/share/qtcreator/dumper/qttypes.py')"
      533-interpreter-exec console "bbsetup"
      534symbol-file "C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474//epoc32/release/armv5/udeb/QMLTest.exe.sym"
      535set breakpoint always-inserted on
      536set breakpoint auto-hw on
      537set trust-readonly-sections on
      538set displaced-stepping on
      539set mem inaccessible-by-default
      540mem 0x00400000 0x70000000 cache
      541mem 0x70000000 0x80000000 cache ro
      542set remotecache on
      543target remote 127.0.0.1:2226
      544maint print msymbols C:/Users/auotila/AppData/Local/Temp/gdb_ns_.mz4704
      545-exec-continue
      546kill
      547-gdb-exit

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            kkohne Kai Köhne
            Reporter:
            auotila Aleksi Uotila
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes