Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-54779

CDB: Can't debug assertions that are triggered by a unit test

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Invalid
    • Affects Version/s: 5.8.0 Alpha
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Windows 10, 64-bit

      Qt Creator 4.0.2
      Based on Qt 5.7.0 (MSVC 2013, 32 bit)
      Built on Jun 13 2016 01:04:04
      From revision 47b4f2c738

      Description

      Most of the details are explained here:

      http://stackoverflow.com/questions/38359643/breaking-on-assertions-with-cdb-in-qt-creator?noredirect=1#comment64138670_38359643

      Some details about the Qt (shadow) build I'm using:

      -debug
      -developer-build
      -opensource
      -confirm-license
      -nomake
      examples
      -nomake
      tests
      -opengl
      desktop
      
      C:\dev\qt5-dev-debug\qtbase\bin>qmake -query
      QT_SYSROOT:
      QT_INSTALL_PREFIX:C:/dev/qt5-dev-debug/qtbase
      QT_INSTALL_PREFIX/src:C:/dev/qt5-dev/qtbase
      QT_INSTALL_ARCHDATA:C:/dev/qt5-dev-debug/qtbase
      QT_INSTALL_ARCHDATA/src:C:/dev/qt5-dev/qtbase
      QT_INSTALL_DATA:C:/dev/qt5-dev-debug/qtbase
      QT_INSTALL_DATA/src:C:/dev/qt5-dev/qtbase
      QT_INSTALL_DOCS:C:/dev/qt5-dev-debug/qtbase/doc
      QT_INSTALL_DOCS/src:C:/dev/qt5-dev/qtbase/doc
      QT_INSTALL_HEADERS:C:/dev/qt5-dev-debug/qtbase/include
      QT_INSTALL_HEADERS/src:C:/dev/qt5-dev/qtbase/include
      QT_INSTALL_LIBS:C:/dev/qt5-dev-debug/qtbase/lib
      QT_INSTALL_LIBS/src:C:/dev/qt5-dev/qtbase/lib
      QT_INSTALL_LIBEXECS:C:/dev/qt5-dev-debug/qtbase/bin
      QT_INSTALL_LIBEXECS/src:C:/dev/qt5-dev/qtbase/bin
      QT_INSTALL_BINS:C:/dev/qt5-dev-debug/qtbase/bin
      QT_INSTALL_BINS/src:C:/dev/qt5-dev/qtbase/bin
      QT_INSTALL_TESTS:C:/dev/qt5-dev-debug/qtbase/tests
      QT_INSTALL_TESTS/src:C:/dev/qt5-dev/qtbase/tests
      QT_INSTALL_PLUGINS:C:/dev/qt5-dev-debug/qtbase/plugins
      QT_INSTALL_PLUGINS/src:C:/dev/qt5-dev/qtbase/plugins
      QT_INSTALL_IMPORTS:C:/dev/qt5-dev-debug/qtbase/imports
      QT_INSTALL_IMPORTS/src:C:/dev/qt5-dev/qtbase/imports
      QT_INSTALL_QML:C:/dev/qt5-dev-debug/qtbase/qml
      QT_INSTALL_QML/src:C:/dev/qt5-dev/qtbase/qml
      QT_INSTALL_TRANSLATIONS:C:/dev/qt5-dev-debug/qtbase/translations
      QT_INSTALL_TRANSLATIONS/src:C:/dev/qt5-dev/qtbase/translations
      QT_INSTALL_CONFIGURATION:
      QT_INSTALL_EXAMPLES:C:/dev/qt5-dev-debug/qtbase/examples
      QT_INSTALL_EXAMPLES/src:C:/dev/qt5-dev/qtbase/examples
      QT_INSTALL_DEMOS:C:/dev/qt5-dev-debug/qtbase/examples
      QT_INSTALL_DEMOS/src:C:/dev/qt5-dev/qtbase/examples
      QT_HOST_PREFIX:C:/dev/qt5-dev-debug/qtbase
      QT_HOST_PREFIX/src:C:/dev/qt5-dev/qtbase
      QT_HOST_DATA:C:/dev/qt5-dev-debug/qtbase
      QT_HOST_DATA/src:C:/dev/qt5-dev/qtbase
      QT_HOST_BINS:C:/dev/qt5-dev-debug/qtbase/bin
      QT_HOST_BINS/src:C:/dev/qt5-dev/qtbase/bin
      QT_HOST_LIBS:C:/dev/qt5-dev-debug/qtbase/lib
      QT_HOST_LIBS/src:C:/dev/qt5-dev/qtbase/lib
      QMAKE_SPEC:win32-msvc2015
      QMAKE_XSPEC:win32-msvc2015
      QMAKE_VERSION:3.0
      QT_VERSION:5.8.0
      

      Info about my manually configured CDB from Options > Build & Run > Debuggers:

      Name: cdb
      Path: C:\dev\Windows Kits\10\Debuggers\x64\cdb.exe
      Type: CDB
      ABIs: x86-windows-msvc2013-pe-64bit
      Version: 10.0.10240.9
      

      Debugger log contents after (unsuccessfully) debugging the assertion triggered by the unit test:

      sStarting debugger "CdbEngine" for ABI "x86-windows-msvc2015-pe-64bit"...
      dStart parameters: 'untitled3' mode: 1
      dABI: x86-windows-msvc2015-pe-64bit
      dLanguages: c++ 
      dExecutable: C:\Users\Mitch\AppData\Local\Temp\untitled3-qt5_dev_debug-Debug\debug\tst_untitled3test.exe 
      dDirectory: C:\Users\Mitch\AppData\Local\Temp\untitled3-qt5_dev_debug-Debug
      dDebugger: C:\dev\Windows Kits\10\Debuggers\x64\cdb.exe
      dProject: C:\Users\Mitch\AppData\Local\Temp\untitled3Addtional Search Directories:
      dRemote: :0
      dSysroot: 
      dDebug Source Location: 
      dDebugger settings: 
      dAdjustBreakpointLocations: true  (default: true)
      dAllPluginBreakpoints: true  (default: true)
      dSkipKnownFrames: false  (default: false)
      dEnableReverseDebugging: false  (default: false)
      dMaximalStringLength: 10000  (default: 10000)
      dDisplayStringLimit: 100  (default: 100)
      dSortStructMembers: true  (default: true)
      dAutoDerefPointers: true  (default: true)
      dShowQtNamespace: true  (default: true)
      dShowQObjectNames: false  (default: false)
      dShowStandardNamespace: true  (default: true)
      dMaximalStackDepth: 20  (default: 20)
      dUseDebuggingHelper: true  (default: true)
      dUseCodeModel: true  (default: true)
      dRaiseOnInterrupt: true  (default: true)
      dStationaryEditorWhileStepping: false  (default: false)
      dSwitchModeOnExit: false  (default: false)
      dBreakpointsFullPath: false  (default: false)
      dCloseBuffersOnExit: false  (default: false)
      dCloseMemoryBuffersOnExit: true  (default: true)
      dLogTimeStamps: false  (default: false)
      dAutoQuit: false  (default: false)
      dFontSizeFollowsEditor: false  (default: false)
      dUseMessageBoxForSignals: true  (default: true)
      dUseAlternatingRowColours: false  (default: false)
      dBreakEvent:   (default: )
      dBreakOnCrtDbgReport: false  (default: false)
      dSymbolPaths:   (default: )
      dSourcePaths:   (default: )
      dGdbCustomDumperCommands:   (default: )
      dAdditionalArguments:   (default: )
      dAlwaysAdjustColumnWidths: true  (default: true)
      dExtraDumperFile:   (default: )
      dUseAddressInStackView: false  (default: false)
      dRegisterForPostMortem: 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)
      dQmlInspector.ShowAppOnTop: 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: .*)
      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)
      dGdbStartupCommands:   (default: )
      dGdbPostAttachCommands:   (default: )
      dLoadGdbDumpers2: false  (default: false)
      dAttemptQuickStart: false  (default: false)
      dIgnoreFirstChanceAccessViolation: false  (default: false)
      dLoadGdbInit: true  (default: true)
      dCDB_Console: false  (default: false)
      dBreakpointCorrection: true  (default: true)
      dSelectedPluginBreakpoints: false  (default: false)
      dState changed from DebuggerNotReady(0) to EngineSetupRequested(1) [master]
      dQUEUE: SETUP ENGINE
      dCALL: SETUP ENGINE
       Launching C:\dev\Windows Kits\10\Debuggers\x64\cdb.exe -aqtcreatorcdbext.dll -lines -G -c .idle_cmd !qtcreatorcdbext.idle C:\Users\Mitch\AppData\Local\Temp\untitled3-qt5_dev_debug-Debug\debug\tst_untitled3test.exe
       using C:\dev\qt-unified\Tools\QtCreator\lib\qtcreatorcdbext64\qtcreatorcdbext.dll of 13/06/2016 12:11 AM.
       C:\dev\Windows Kits\10\Debuggers\x64\cdb.exe running as 7604
       Microsoft (R) Windows Debugger Version 10.0.10240.9 AMD64
       Using CDB based breakpoint correction.
       Copyright (c) Microsoft Corporation. All rights reserved.
       CommandLine: C:\Users\Mitch\AppData\Local\Temp\untitled3-qt5_dev_debug-Debug\debug\tst_untitled3test.exe
       Symbol search path is: *** Invalid ***
       ****************************************************************************
       * Symbol loading may be unreliable without a symbol search path.           *
       * Use .symfix to have the debugger choose a symbol path.                   *
       * After setting your symbol path, use .reload to refresh symbol locations. *
       ****************************************************************************
       Executable search path is: 
      sModule loaded: tst_untitled3test.exe
      sModule loaded: ntdll.dll
      sModule loaded: C:\WINDOWS\system32\KERNEL32.DLL
      sModule loaded: C:\WINDOWS\system32\KERNELBASE.dll
      sModule loaded: C:\WINDOWS\SYSTEM32\VCRUNTIME140D.dll
      sModule loaded: C:\WINDOWS\SYSTEM32\ucrtbased.dll
      sModule loaded: C:\WINDOWS\system32\ADVAPI32.dll
      sModule loaded: C:\dev\qt5-dev-debug\qtbase\lib\Qt5Cored.dll
      sModule loaded: C:\WINDOWS\system32\msvcrt.dll
      sModule loaded: C:\dev\qt5-dev-debug\qtbase\lib\Qt5Testd.dll
      sModule loaded: C:\WINDOWS\system32\USER32.dll
      sModule loaded: C:\WINDOWS\system32\sechost.dll
      sModule loaded: C:\WINDOWS\SYSTEM32\MSVCP140D.dll
      sModule loaded: C:\WINDOWS\system32\GDI32.dll
      sModule loaded: C:\WINDOWS\system32\RPCRT4.dll
      sModule loaded: C:\WINDOWS\system32\SHELL32.dll
      sModule loaded: C:\WINDOWS\system32\cfgmgr32.dll
      sModule loaded: C:\WINDOWS\system32\windows.storage.dll
      sModule loaded: C:\WINDOWS\system32\combase.dll
      sModule loaded: C:\WINDOWS\SYSTEM32\CRYPTBASE.DLL
      sModule loaded: C:\WINDOWS\system32\bcryptPrimitives.dll
      sModule loaded: C:\WINDOWS\system32\shlwapi.dll
      sModule loaded: C:\WINDOWS\system32\kernel.appcore.dll
      sModule loaded: C:\WINDOWS\system32\shcore.dll
      sModule loaded: C:\WINDOWS\system32\powrprof.dll
      sModule loaded: C:\WINDOWS\system32\profapi.dll
      sModule loaded: C:\WINDOWS\system32\ole32.dll
      sModule loaded: C:\WINDOWS\system32\WS2_32.dll
      sModule loaded: C:\WINDOWS\SYSTEM32\MPR.dll
      sModule loaded: C:\WINDOWS\SYSTEM32\WINMM.dll
      sModule loaded: C:\WINDOWS\SYSTEM32\WINMMBASE.dll
      sModule loaded: C:\WINDOWS\SYSTEM32\winmmbase.dll
       (1574.1f70): Break instruction exception - code 80000003 (first chance)
       *** ERROR: Symbol file could not be found.  Defaulted to export symbols for ntdll.dll - 
       ntdll!LdrInitShimEngineDynamic+0x360:
       00007ffe`ec8faa60 cc              int     3
       cdb: Reading initial command '.idle_cmd !qtcreatorcdbext.idle'
       Execute when idle: !qtcreatorcdbext.idle
       0:000>
      <l+t
      <l+s
      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
      <bu100100 CxxThrowException
      <breakpoints-v
      <.sympath ""
      <sxn 0x4000001f
      <sxn ibp
      <.asm source_line
      <!qtcreatorcdbext.setparameter maxStringLength=10000 maxStackDepth=20
      <pid
       Source options are 1:
            1/t - Step/trace by source line
       Source options are 5:
            1/t - Step/trace by source line
            4/s - List source code at prompt
       *** Bp expression 'CxxThrowException' contains symbols not qualified with module name.
      d*** Bp expression 'CxxThrowException' contains symbols not qualified with module name.
       1 breakpoint(s) pending...
       Symbol search path is: <empty>
       Expanded Symbol search path is: <empty>
       Assembly options: source_line
       Qt Creator CDB extension version 4.0 64 bit.
      dTaking notice of pid 5492
      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
      <g
      dNOTE: ENGINE RUN AND INFERIOR RUN OK
      sRunning.
      dState changed from EngineRunRequested(7) to InferiorRunOk(11) [master]
       *** Unable to resolve unqualified symbol in Bp expression 'CxxThrowException' from module 'C:\WINDOWS\system32\IMM32.DLL'.
      sModule loaded: C:\WINDOWS\system32\IMM32.DLL
       ********* Start testing of Untitled3Test *********
       Config: Using QtTest library 5.8.0, Qt 5.8.0 (x86_64-little_endian-llp64 shared (dynamic) debug build; by MSVC 2015)
       PASS   : Untitled3Test::initTestCase()
       QFATAL : Untitled3Test::testCase1() ASSERT failure in QVector<T>::operator[]: "index out of range", file c:\dev\qt5-dev-debug\qtbase\include\qtcore\../../../../qt5-dev/qtbase/src/corelib/tools/qvector.h, line 433
       FAIL!  : Untitled3Test::testCase1() Received a fatal error.
       Unknown file(0) : failure location
       Totals: 1 passed, 1 failed, 0 skipped, 0 blacklisted, 0ms
       ********* Finished testing of Untitled3Test *********
       C:\dev\qt5-dev\qtbase\src\corelib\global\qglobal.cpp(3045) : ASSERT failure in QVector<T>::operator[]: "index out of range", file c:\dev\qt5-dev-debug\qtbase\include\qtcore\../../../../qt5-dev/qtbase/src/corelib/tools/qvector.h, line 433
      dNOTE: INFERIOR EXITED
      dState changed from InferiorRunOk(11) to InferiorShutdownOk(18) [master]
      dState changed from InferiorShutdownOk(18) to EngineShutdownRequested(19) [master]
      dQUEUE: SHUTDOWN ENGINE
      sProcess exited (1)
      dCALL: SHUTDOWN ENGINE
      <q
      dCDB PROCESS FINISHED, status 0, exit code 1
      dNOTE: ENGINE SHUTDOWN OK
      dState changed from EngineShutdownRequested(19) to EngineShutdownOk(21) [master]
      dState changed from EngineShutdownOk(21) to DebuggerFinished(22) [master]
      dQUEUE: FINISH DEBUGGER
      dNOTE: FINISH DEBUGGER
      dHANDLE RUNCONTROL FINISHED
      sDebugger finished.
      

      Debugger log contents after (successfully) debugging the assertion triggered by the regular application:

      sStarting debugger "QmlCppEngine" for ABI "x86-windows-msvc2015-pe-64bit"...
      dStart parameters: 'untitled2' mode: 1
      dABI: x86-windows-msvc2015-pe-64bit
      dLanguages: any c++ qml
      dExecutable: C:\Users\Mitch\AppData\Local\Temp\untitled2-qt5_dev_debug-Debug\debug\untitled2.exe "-qmljsdebugger=port:51492,block,services:DebugMessages,QmlDebugger,V8Debugger,QmlInspector"
      dDirectory: C:\Users\Mitch\AppData\Local\Temp\untitled2-qt5_dev_debug-Debug
      dDebugger: C:\dev\Windows Kits\10\Debuggers\x64\cdb.exe
      dProject: C:\Users\Mitch\AppData\Local\Temp\untitled2Addtional Search Directories:
      dQML server: 127.0.0.1:51492
      dRemote: :0
      dSysroot: 
      dDebug Source Location: 
      dDebugger settings: 
      dAdjustBreakpointLocations: true  (default: true)
      dAllPluginBreakpoints: true  (default: true)
      dSkipKnownFrames: false  (default: false)
      dEnableReverseDebugging: false  (default: false)
      dMaximalStringLength: 10000  (default: 10000)
      dDisplayStringLimit: 100  (default: 100)
      dSortStructMembers: true  (default: true)
      dAutoDerefPointers: true  (default: true)
      dShowQtNamespace: true  (default: true)
      dShowQObjectNames: false  (default: false)
      dShowStandardNamespace: true  (default: true)
      dMaximalStackDepth: 20  (default: 20)
      dUseDebuggingHelper: true  (default: true)
      dUseCodeModel: true  (default: true)
      dRaiseOnInterrupt: true  (default: true)
      dStationaryEditorWhileStepping: false  (default: false)
      dSwitchModeOnExit: false  (default: false)
      dBreakpointsFullPath: false  (default: false)
      dCloseBuffersOnExit: false  (default: false)
      dCloseMemoryBuffersOnExit: true  (default: true)
      dLogTimeStamps: false  (default: false)
      dAutoQuit: false  (default: false)
      dFontSizeFollowsEditor: false  (default: false)
      dUseMessageBoxForSignals: true  (default: true)
      dUseAlternatingRowColours: false  (default: false)
      dBreakEvent:   (default: )
      dBreakOnCrtDbgReport: false  (default: false)
      dSymbolPaths:   (default: )
      dSourcePaths:   (default: )
      dGdbCustomDumperCommands:   (default: )
      dAdditionalArguments:   (default: )
      dAlwaysAdjustColumnWidths: true  (default: true)
      dExtraDumperFile:   (default: )
      dUseAddressInStackView: false  (default: false)
      dRegisterForPostMortem: 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)
      dQmlInspector.ShowAppOnTop: 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: .*)
      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)
      dGdbStartupCommands:   (default: )
      dGdbPostAttachCommands:   (default: )
      dLoadGdbDumpers2: false  (default: false)
      dAttemptQuickStart: false  (default: false)
      dIgnoreFirstChanceAccessViolation: false  (default: false)
      dLoadGdbInit: true  (default: true)
      dCDB_Console: false  (default: false)
      dBreakpointCorrection: true  (default: true)
      dSelectedPluginBreakpoints: false  (default: false)
      dState changed from DebuggerNotReady(0) to EngineSetupRequested(1) [master]
      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
       Launching C:\dev\Windows Kits\10\Debuggers\x64\cdb.exe -aqtcreatorcdbext.dll -lines -G -c .idle_cmd !qtcreatorcdbext.idle C:\Users\Mitch\AppData\Local\Temp\untitled2-qt5_dev_debug-Debug\debug\untitled2.exe "-qmljsdebugger=port:51492,block,services:DebugMessages,QmlDebugger,V8Debugger,QmlInspector"
       using C:\dev\qt-unified\Tools\QtCreator\lib\qtcreatorcdbext64\qtcreatorcdbext.dll of 13/06/2016 12:11 AM.
       C:\dev\Windows Kits\10\Debuggers\x64\cdb.exe running as 8836
       Microsoft (R) Windows Debugger Version 10.0.10240.9 AMD64
       Using CDB based breakpoint correction.
       Copyright (c) Microsoft Corporation. All rights reserved.
       CommandLine: C:\Users\Mitch\AppData\Local\Temp\untitled2-qt5_dev_debug-Debug\debug\untitled2.exe "-qmljsdebugger=port:51492,block,services:DebugMessages,QmlDebugger,V8Debugger,QmlInspector"
       Symbol search path is: *** Invalid ***
       ****************************************************************************
       * Symbol loading may be unreliable without a symbol search path.           *
       * Use .symfix to have the debugger choose a symbol path.                   *
       * After setting your symbol path, use .reload to refresh symbol locations. *
       ****************************************************************************
       Executable search path is: 
      sModule loaded: untitled2.exe
      sModule loaded: ntdll.dll
      sModule loaded: C:\WINDOWS\system32\KERNEL32.DLL
      sModule loaded: C:\WINDOWS\system32\KERNELBASE.dll
      sModule loaded: C:\WINDOWS\system32\SHELL32.dll
      sModule loaded: C:\WINDOWS\system32\msvcrt.dll
      sModule loaded: C:\dev\qt5-dev-debug\qtbase\lib\Qt5Qmld.dll
      sModule loaded: C:\dev\qt5-dev-debug\qtbase\lib\Qt5Quickd.dll
      sModule loaded: C:\dev\qt5-dev-debug\qtbase\lib\Qt5Guid.dll
      sModule loaded: C:\dev\qt5-dev-debug\qtbase\lib\Qt5Cored.dll
      sModule loaded: C:\WINDOWS\system32\USER32.dll
      sModule loaded: C:\WINDOWS\system32\ole32.dll
      sModule loaded: C:\WINDOWS\system32\GDI32.dll
      sModule loaded: C:\WINDOWS\system32\combase.dll
      sModule loaded: C:\WINDOWS\system32\ADVAPI32.dll
      sModule loaded: C:\WINDOWS\system32\RPCRT4.dll
      sModule loaded: C:\WINDOWS\system32\sechost.dll
      sModule loaded: C:\WINDOWS\system32\bcryptPrimitives.dll
      sModule loaded: C:\WINDOWS\system32\WS2_32.dll
      sModule loaded: C:\WINDOWS\SYSTEM32\VCRUNTIME140D.dll
      sModule loaded: C:\WINDOWS\system32\cfgmgr32.dll
      sModule loaded: C:\WINDOWS\system32\windows.storage.dll
      sModule loaded: C:\dev\qt5-dev-debug\qtbase\lib\Qt5Networkd.dll
      sModule loaded: C:\WINDOWS\SYSTEM32\ucrtbased.dll
      sModule loaded: C:\WINDOWS\system32\shlwapi.dll
      sModule loaded: C:\WINDOWS\SYSTEM32\MSVCP140D.dll
      sModule loaded: C:\WINDOWS\SYSTEM32\OPENGL32.dll
      sModule loaded: C:\WINDOWS\SYSTEM32\MPR.dll
      sModule loaded: C:\WINDOWS\system32\kernel.appcore.dll
      sModule loaded: C:\WINDOWS\SYSTEM32\WINMM.dll
      sModule loaded: C:\WINDOWS\SYSTEM32\DNSAPI.dll
      sModule loaded: C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL
      sModule loaded: C:\WINDOWS\system32\NSI.dll
      sModule loaded: C:\WINDOWS\SYSTEM32\GLU32.dll
      sModule loaded: C:\WINDOWS\SYSTEM32\DDRAW.dll
      sModule loaded: C:\WINDOWS\SYSTEM32\WINMMBASE.dll
      sModule loaded: C:\WINDOWS\SYSTEM32\winmmbase.dll
      sModule loaded: C:\WINDOWS\SYSTEM32\CRYPTBASE.DLL
      sModule loaded: C:\WINDOWS\SYSTEM32\DCIMAN32.dll
      sModule loaded: C:\WINDOWS\system32\shcore.dll
      sModule loaded: C:\WINDOWS\system32\powrprof.dll
      sModule loaded: C:\WINDOWS\system32\profapi.dll
       (1e1c.1d8c): Break instruction exception - code 80000003 (first chance)
       *** ERROR: Symbol file could not be found.  Defaulted to export symbols for ntdll.dll - 
       ntdll!LdrInitShimEngineDynamic+0x360:
       00007ffe`ec8faa60 cc              int     3
       cdb: Reading initial command '.idle_cmd !qtcreatorcdbext.idle'
       Execute when idle: !qtcreatorcdbext.idle
       0:000>
      <l+t
      <l+s
      dNOTE: ENGINE SETUP OK
      dState changed from EngineSetupRequested(1) to EngineSetupOk(3)
      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
      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
      <bu100100 CxxThrowException
      <breakpoints-v
      <.sympath ""
      <sxn 0x4000001f
      <sxn ibp
      <.asm source_line
      <!qtcreatorcdbext.setparameter maxStringLength=10000 maxStackDepth=20
      <pid
       Source options are 1:
            1/t - Step/trace by source line
       Source options are 5:
            1/t - Step/trace by source line
            4/s - List source code at prompt
       *** Bp expression 'CxxThrowException' contains symbols not qualified with module name.
      d*** Bp expression 'CxxThrowException' contains symbols not qualified with module name.
       1 breakpoint(s) pending...
       Symbol search path is: <empty>
       Expanded Symbol search path is: <empty>
       Assembly options: source_line
       Qt Creator CDB extension version 4.0 64 bit.
      dTaking notice of pid 7708
      dNOTE: INFERIOR SETUP OK
      dState changed from InferiorSetupRequested(4) to InferiorSetupOk(6)
      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
      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
      <g
      dNOTE: ENGINE RUN AND INFERIOR RUN OK
      sRunning.
      dState changed from EngineRunRequested(7) to InferiorRunOk(11)
      dNOTE: ENGINE RUN AND INFERIOR RUN OK
      sRunning.
      dState changed from EngineRunRequested(7) to InferiorRunOk(11) [master]
       *** Unable to resolve unqualified symbol in Bp expression 'CxxThrowException' from module 'C:\WINDOWS\system32\IMM32.DLL'.
      sModule loaded: C:\WINDOWS\system32\IMM32.DLL
       QML debugging is enabled. Only use this in a safe environment.
       *** Unable to resolve unqualified symbol in Bp expression 'CxxThrowException' from module 'C:\dev\qt5-dev-debug\qtbase\plugins\platforms\qwindowsd.dll'.
      sModule loaded: C:\dev\qt5-dev-debug\qtbase\plugins\platforms\qwindowsd.dll
       *** Unable to resolve unqualified symbol in Bp expression 'CxxThrowException' from module 'C:\WINDOWS\system32\OLEAUT32.dll'.
      sModule loaded: C:\WINDOWS\system32\OLEAUT32.dll
       *** Unable to resolve unqualified symbol in Bp expression 'CxxThrowException' from module 'C:\WINDOWS\SYSTEM32\dwmapi.dll'.
      sModule loaded: C:\WINDOWS\SYSTEM32\dwmapi.dll
       *** Unable to resolve unqualified symbol in Bp expression 'CxxThrowException' from module 'C:\WINDOWS\system32\uxtheme.dll'.
      sModule loaded: C:\WINDOWS\system32\uxtheme.dll
       ASSERT failure in QVector<T>::operator[]: "index out of range", file c:\dev\qt5-dev-debug\qtbase\include\qtcore\../../../../qt5-dev/qtbase/src/corelib/tools/qvector.h, line 433
       Debug Error!
       
       Program: C:\dev\qt5-dev-debug\qtbase\lib\Qt5Cored.dll
       Module: 5.8.0
       File: C:\dev\qt5-dev\qtbase\src\corelib\global\qglobal.cpp
       Line: 3045
       
       ASSERT failure in QVector<T>::operator[]: "index out of range", file c:\dev\qt5-dev-debug\qtbase\include\qtcore\../../../../qt5-dev/qtbase/src/corelib/tools/qvector.h, line 433
       
       (Press Retry to debug the application)
       *** Unable to resolve unqualified symbol in Bp expression 'CxxThrowException' from module 'C:\WINDOWS\system32\MSCTF.dll'.
      sModule loaded: C:\WINDOWS\system32\MSCTF.dll
       *** Unable to resolve unqualified symbol in Bp expression 'CxxThrowException' from module 'C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.10586.494_none_a2d8b04ea53e3145\comctl32.dll'.
      sModule loaded: C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.10586.494_none_a2d8b04ea53e3145\comctl32.dll
      

      I doubt that this is limited to unit tests, but that's what I've discovered so far.

        Attachments

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

          Activity

            People

            Assignee:
            davschul David Schulz
            Reporter:
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes