Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
Qt Creator 14.0.0
Description
I tried to debug a Qt 5.15 (Mingw 32-Bit) Qt Quick project and a (Mingw 32-Bit) Qt Widgets project with Qt Creator 14.
It builds fine. When I try to debug it, it doesn't go through.
I looked at the GDB Debugger Log and it looks like a python script doesn't run through properly.
I did not test mingw 64 bit Qt 5.15.
Qt 6 works fine.
I tried testing with Qt Creator 13 and it debugs just fine.
Below is the GDB Debugger log from Qt Creator 14.
wNote: This log contains possibly confidential information about your machine, environment variables, in-memory data of the processes you are debugging, and more. It is never transferred over the internet by Qt Creator, and only stored to disk if you manually use the respective option from the context menu, or through mechanisms that are not under the control of Qt Creator's Debugger plugin, for instance in swap files, or other plugins you might use. wYou may be asked to share the contents of this log when reporting bugs related to debugger operation. In this case, make sure your submission does not contain data you do not want to or you are not allowed to share. w d[GDB] Start parameters: 'MyProject' mode: 1 dABI: x86-windows-msys-pe-32bit dLanguages: c++ dExecutable: C:\Users\user\Documents\Qt_Projects\display-software\build\Desktop_Qt_5_15_2_MinGW_32_bit-Debug\debug\myproj.exe dDirectory: C:\Users\user\Documents\Qt_Projects\display-software\build\Desktop_Qt_5_15_2_MinGW_32_bit-Debug dDebugger: C:\Qt\Tools\mingw810_32\bin\gdb.exe dProject: C:\Users\user\Documents\Qt_Projects\display-software dAdditional Search Directories: dSysroot: dDebug Source Location: /usr/src/debug/qt5base/src/corelib:/usr/src/debug/qt5base/src/gui:/usr/src/debug/qt5base/src/network d[GDB] Debugger settings: d/AdditionalArguments: (default: ) d/AlwaysAdjustColumnWidths: true (default: true) d/AutoDerefPointers: true (default: true) d/BreakEvent: (default: ) d/BreakOnCrtDbgReport: false (default: false) d/BreakpointCorrection: true (default: true) d/CDB_Console: false (default: false) d/FirstChanceExceptionTaskEntry: true (default: true) d/IgnoreFirstChanceAccessViolation: false (default: false) d/LogTimeStamps: false (default: false) d/SecondChanceExceptionTaskEntry: true (default: true) d/SortStructMembers: true (default: true) d/SourcePaths: (default: ) d/SymbolPaths: (default: ) d/UsePythonDumper: true (default: true) d/UseToolTipsInBreakpointsView: false (default: false) d/UseToolTipsInLocalsView: false (default: false) d/UseToolTipsInStackView: true (default: true) d[GDB] State changed from DebuggerNotReady(0) to EngineSetupRequested(1) d[GDB] CALL: SETUP ENGINE d[GDB] TRYING TO START ADAPTER d[GDB] ENABLING TEST CASE: 0 d[GDB] STARTING C:\Qt\Tools\mingw810_32\bin\gdb.exe "--tty=\\.\pipe\creator-32172-4268" -i mi d[GDB] GDB STARTED, INITIALIZING IT <141show version <142show debug-file-directory <143set max-completions 1000 <144complete set arch <145set breakpoint pending on <146set print elements 10000 <147set index-cache on <148set unwindonsignal on <149set width 0 <150set height 0 Setting up inferior... <# directory does not exist: /usr/src/debug/qt5base/src/corelib <# directory does not exist: /usr/src/debug/qt5base/src/gui <# directory does not exist: /usr/src/debug/qt5base/src/network <151python sys.path.insert(1, 'C:/Qt/Tools/QtCreator/share/qtcreator/debugger') <152python from gdbbridge import * <153python theDumper.loadDumpers({"token":153}) >=thread-group-added,id="i1" >~"GNU gdb (GDB) 8.1\n" >~"Copyright (C) 2018 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-w64-mingw32\".\nType \"show configuration\" for configuration details." >~"\nFor bug reporting instructions, please see:\n" >~"<http://www.gnu.org/software/gdb/bugs/>.\n" >~"Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.\n" >~"For help, type \"help\".\n" >~"Type \"apropos word\" to search for commands related to \"word\".\n" >&"show version\n" >~"GNU gdb (GDB) 8.1\n" >~"Copyright (C) 2018 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-w64-mingw32\".\nType \"show configuration\" for configuration details." >~"\nFor bug reporting instructions, please see:\n" >~"<http://www.gnu.org/software/gdb/bugs/>.\n" >~"Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.\n" >~"For help, type \"help\".\n" >~"Type \"apropos word\" to search for commands related to \"word\".\n" >141^done d[GDB] PARSING VERSION: 141^done d[GDB] SUPPORTED GDB VERSION GNU gdb (GDB) 8.1 dCopyright (C) 2018 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-w64-mingw32". dType "show configuration" for configuration details. dFor bug reporting instructions, please see: d<http://www.gnu.org/software/gdb/bugs/>. dFind the GDB manual and other documentation resources online at: d<http://www.gnu.org/software/gdb/documentation/>. dFor help, type "help". dType "apropos word" to search for commands related to "word". dGNU gdb (GDB) 8.1 dCopyright (C) 2018 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-w64-mingw32". dType "show configuration" for configuration details. dFor bug reporting instructions, please see: d<http://www.gnu.org/software/gdb/bugs/>. dFind the GDB manual and other documentation resources online at: d<http://www.gnu.org/software/gdb/documentation/>. dFor help, type "help". dType "apropos word" to search for commands related to "word". d[GDB] USING GDB VERSION: 80100, BUILD: 2018 <154-interpreter-exec console "set target-async off" >&"show debug-file-directory\n" >~"The directory where separate debug symbols are searched for is \"c:\\c\\mingw810\\i686-810-posix-dwarf-rt_v6-rev0\\mingw32\\lib\\debug\".\n" >142^done >&"set max-completions 1000\n" >=cmd-param-changed,param="max-completions",value="1000" >143^done >&"complete set arch \n" >~"set arch auto\n" >~"set arch i386\n" >~"set arch i386:intel\n" >~"set arch i386:nacl\n" >~"set arch i386:x64-32\n" >~"set arch i386:x64-32:intel\n" >~"set arch i386:x64-32:nacl\n" >~"set arch i386:x86-64\n" >~"set arch i386:x86-64:intel\n" >~"set arch i386:x86-64:nacl\n" >~"set arch i8086\n" >144^done >&"set breakpoint pending on\n" >=cmd-param-changed,param="breakpoint pending",value="on" >145^done >&"set print elements 10000\n" >=cmd-param-changed,param="print elements",value="10000" >146^done >&"set index-cache on\n" >&"No symbol table is loaded. Use the \"file\" command.\n" >147^error,msg="No symbol table is loaded. Use the \"file\" command." >&"set unwindonsignal on\n" >=cmd-param-changed,param="unwindonsignal",value="on" >148^done >&"set width 0\n" >=cmd-param-changed,param="width",value="4294967295" >149^done >&"set height 0\n" >150^done >&"python sys.path.insert(1, 'C:/Qt/Tools/QtCreator/share/qtcreator/debugger')\n" >151^done >&"python from gdbbridge import *\n" >&"Traceback (most recent call last):\n" >&" File \"<string>\", line 1, in <module>\n" >&" File \"C:/Qt/Tools/QtCreator/share/qtcreator/debugger/gdbbridge.py\", line 16, in <module>\n" >&" from dumper import DumperBase, Children, TopLevelItem\n" >&" File \"C:/Qt/Tools/QtCreator/share/qtcreator/debugger/dumper.py\", line 130, in <module>\n" >&" class DumperBase():\n" >&" File \"C:/Qt/Tools/QtCreator/share/qtcreator/debugger/dumper.py\", line 3729, in DumperBase\n" >&" u/functools.lru_cache(maxsize = None)\n" >&"AttributeError: 'module' object has no attribute 'lru_cache'\n" >&"Error while executing Python code.\n" >152^error,msg="Error while executing Python code." >&"python theDumper.loadDumpers({\"token\":153})\n" >&"Traceback (most recent call last):\n" >&" File \"<string>\", line 1, in <module>\n" >&"NameError: name 'theDumper' is not defined\n" >&"Error while executing Python code.\n" >153^error,msg="Error while executing Python code." d[GDB] NOTE: ENGINE SETUP FAILED d[GDB] State changed from EngineSetupRequested(1) to EngineSetupFailed(2) <Debugging has failed. d[GDB] State changed from EngineSetupFailed(2) to DebuggerFinished(16)
Attachments
Issue Links
- is blocked by
-
QTBUG-128398 gdb 8.1 needs to be updated to gdb 11.2.0 for Qt 5.15.x
- Closed
- relates to
-
QTCREATORBUG-31366 The latest version of QtCreator cannot use Debug-Start Debugging- Start Debugging of Startup Project
- Closed