CDB debugger terminated in 64-bit mode



  • I can debug only in 32-bit mode. This problem is similar to lack of rc.exe?
    forum Qt about rc.exe


  • Lifetime Qt Champion

    Hi,

    What version of Qt ?
    What version of Visual Studio ?
    What version of Qt Creator ?
    What version of Windows ?



  • Qt 5.10.0
    Qt Creator 4.5.0
    Base on Qt 5.10.0 (MSVC 2015, 32 bitowy) <---maybe this is problem
    Dec 4 2017 04:12:22

    I have Visual Studio 2015 and Windows 10
    Should I install 64-bit version of Qt Creator?


  • Lifetime Qt Champion

    There's no 64bit version of Qt Creator at this time and there's no reason for it. Qt Creator is an IDE, it can manages several versions of Qt.


  • Moderators

    @AndrzejB said in CDB debugger terminated in 64-bit mode:

    Base on Qt 5.10.0 (MSVC 2015, 32 bitowy) <---maybe this is problem

    This is Qt version used by QtCreator itself not necessarily the one you're using. Which Qt version did you install?



  • @SGaist said in CDB debugger terminated in 64-bit mode:

    There's no 64bit version of Qt Creator at this time

    http://download.qt.io/official_releases/qtcreator/4.5/4.5.0/ contains a 64 bit Windows version as well.

    but as you correctly said, for debugging it should not matter.

    @AndrzejB can you show the debugger log? (Somewhere in Creators Windows menu)



  • only I can found (in Polish):
    15:10:09: Uruchamianie kroków budowania dla projektu testIconEditor...
    15:10:09: Konfiguracja niezmieniona, krok qmake pominięty.
    15:10:09: Uruchamianie "H:\Qt\Tools\QtCreator\bin\jom.exe"
    H:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Debug
    15:10:09: Proces "H:\Qt\Tools\QtCreator\bin\jom.exe" zakończył się normalnie.
    15:10:09: Czas trwania: 00:00.



  • @AndrzejB

    No, that is the compile output.

    We need Window -> Views -> Debugger Log.



  • I can' t upload file:
    Paste:

    sUruchamianie debuggera "CdbEngine" dla ABI "x86-windows-msvc2015-pe-64bit"...
    dStart parameters: 'genUtf' mode: 1
    dABI: x86-windows-msvc2015-pe-64bit
    dLanguages: c++
    dExecutable: H:\D\code\user-qt-extras\build-genUtf-Desktop_Qt_5_10_0_MSVC2015_64bit-Debug\debug\genUtf.exe
    dDirectory: H:\D\code\user-qt-extras\build-genUtf-Desktop_Qt_5_10_0_MSVC2015_64bit-Debug
    dDebugger: C:\Program Files (x86)\Windows Kits\10\Debuggers\x86\cdb.exe
    dProject: H:\D\code\user-qt-extras\genUtf
    dAdditional Search Directories:
    dSysroot:
    dDebug Source Location:
    dDebugger settings:
    dAdditionalArguments: (default: )
    dAdjustBreakpointLocations: true (default: true)
    dAllPluginBreakpoints: true (default: true)
    dAlwaysAdjustColumnWidths: true (default: true)
    dAutoDerefPointers: true (default: true)
    dAutoEnrichParameters: true (default: true)
    dAutoQuit: false (default: false)
    dBreakEvent: (default: )
    dBreakOnAbort: false (default: false)
    dBreakOnCatch: false (default: false)
    dBreakOnCrtDbgReport: false (default: false)
    dBreakOnFatal: false (default: false)
    dBreakOnThrow: false (default: false)
    dBreakOnWarning: false (default: false)
    dBreakpointCorrection: true (default: true)
    dBreakpointsFullPath: false (default: false)
    dCDB_Console: false (default: false)
    dCloseBuffersOnExit: false (default: false)
    dCloseMemoryBuffersOnExit: true (default: true)
    dDisplayStringLimit: 100 (default: 100)
    dEnableReverseDebugging: false (default: false)
    dExtraDumperFile: (default: )
    dFontSizeFollowsEditor: false (default: false)
    dGdbCustomDumperCommands: (default: )
    dGdbPostAttachCommands: (default: )
    dGdbStartupCommands: (default: )
    dIdentifyDebugInfoPackages: false (default: false)
    dIgnoreFirstChanceAccessViolation: false (default: false)
    dIntelFlavor: false (default: false)
    dLoadGdbDumpers2: false (default: false)
    dLoadGdbInit: true (default: true)
    dLogTimeStamps: false (default: false)
    dMaximalStackDepth: 20 (default: 20)
    dMaximalStringLength: 10000 (default: 10000)
    dMultiInferior: false (default: false)
    dNoPluginBreakpoints: false (default: false)
    dQmlInspector.ShowAppOnTop: false (default: false)
    dRaiseOnInterrupt: true (default: true)
    dRegisterForPostMortem: false (default: false)
    dSelectedPluginBreakpoints: false (default: false)
    dSelectedPluginBreakpointsPattern: .* (default: .*)
    dShowQObjectNames2: true (default: true)
    dShowQmlObjectTree: true (default: true)
    dShowQtNamespace: true (default: true)
    dShowStandardNamespace: true (default: true)
    dShowThreadNames: false (default: false)
    dSkipKnownFrames: false (default: false)
    dSortStructMembers: true (default: true)
    dSourcePaths: (default: )
    dStationaryEditorWhileStepping: false (default: false)
    dSwitchModeOnExit: false (default: false)
    dSymbolPaths: (default: )
    dTargetAsync: false (default: false)
    dUseAddressInBreakpointsView: false (default: false)
    dUseAddressInStackView: false (default: false)
    dUseAlternatingRowColours: false (default: false)
    dUseCodeModel: true (default: true)
    dUseDebuggingHelper: true (default: true)
    dUseDynamicType: true (default: true)
    dUseMessageBoxForSignals: true (default: true)
    dUsePythonDumper: true (default: true)
    dUseToolTips: true (default: true)
    dUseToolTipsInBreakpointsView: false (default: false)
    dUseToolTipsInBreakpointsView: false (default: true) ***
    dUseToolTipsInLocalsView: false (default: false)
    dWarnOnReleaseBuilds: true (default: true)
    dWatchdogTimeout: 20 (default: 20)
    dState changed from DebuggerNotReady(0) to EngineSetupRequested(1) [master]
    dCALL: SETUP ENGINE
    Launching C:\Program Files (x86)\Windows Kits\10\Debuggers\x86\cdb.exe -aqtcreatorcdbext.dll -lines -G -c .idle_cmd !qtcreatorcdbext.idle -2 -y "" H:\D\code\user-qt-extras\build-genUtf-Desktop_Qt_5_10_0_MSVC2015_64bit-Debug\debug\genUtf.exe
    using H:\Qt\Tools\QtCreator\lib\qtcreatorcdbext32\qtcreatorcdbext.dll of 04.12.2017 03:39.
    C:\Program Files (x86)\Windows Kits\10\Debuggers\x86\cdb.exe running as 14304
    Microsoft (R) Windows Debugger Version 10.0.16299.91 X86
    Using CDB based breakpoint correction.
    Copyright (c) Microsoft Corporation. All rights reserved.
    CommandLine: H:\D\code\user-qt-extras\build-genUtf-Desktop_Qt_5_10_0_MSVC2015_64bit-Debug\debug\genUtf.exe
    Cannot execute 'H:\D\code\user-qt-extras\build-genUtf-Desktop_Qt_5_10_0_MSVC2015_64bit-Debug\debug\genUtf.exe', Win32 error 0n50
    "Żądanie nie jest obsługiwane."
    Debuggee initialization failed, Win32 error 0n50
    Żądanie nie jest obsługiwane.
    eERROR: Proces zakończony błędem
    dCDB PROCESS FINISHED, status 1, exit code -2147024846
    dNOTE: ENGINE ILL ******
    dState changed from EngineSetupRequested(1) to EngineShutdownRequested(19) [master]
    dCALL: SHUTDOWN ENGINE
    dNOTE: ENGINE SHUTDOWN OK
    dState changed from EngineShutdownRequested(19) to EngineShutdownOk(21) [master]
    dState changed from EngineShutdownOk(21) to DebuggerFinished(22) [master]
    sDebugger zakończył pracę.



  • @AndrzejB said in CDB debugger terminated in 64-bit mode:

    Launching C:\Program Files (x86)\Windows Kits\10\Debuggers\x86\cdb.exe

    Maybe this above^
    should be "c:\Program Files (x86)\Windows Kits\10\Debuggers\x64\cdb.exe"



  • @AndrzejB said in CDB debugger terminated in 64-bit mode:

    @AndrzejB said in CDB debugger terminated in 64-bit mode:

    Launching C:\Program Files (x86)\Windows Kits\10\Debuggers\x86\cdb.exe

    Maybe this above^
    should be "c:\Program Files (x86)\Windows Kits\10\Debuggers\x64\cdb.exe"

    Maybe. Do you have such a program?

    Then please check your settings in Tools -> Options -> Build & Run: Debuggers and Kits are the needed tabs to look at. The Qt x64 Kit should have the 64 bit debugger assigned.



  • I am cloning 32-bit autodetected and modify to 64bit . But how to force using it? Is Qt creator error? - in 32bit mode want x64, ale want CDB x86.


  • Moderators

    @AndrzejB As @aha_1980 said check your Kit in QtCreator: Options/Build & Run/Debuggers" - check whether you have your 64bit debugger there. And again under "Build & Run/Kits" check whether the 64bit debugger is set in your 64bit Kit.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.