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

Debugging does not work anymore

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 14.0.0-rc1, Qt Creator 14.0.1
    • Debugger
    • Windows

    Description

      Debugger does not start anymore

      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: 'COW_01' mode: 1
      dABI: x86-windows-msys-pe-64bit
      dLanguages: c++ 
      dExecutable: C:\Users\Michael\Documents\Projects\COW_01\build\Desktop_Qt_5_12_12_MinGW_64_bit-Debug\debug\COW_01.exe [terminal]
      dDirectory: C:\Users\Michael\Documents\Projects\COW_01\build\Desktop_Qt_5_12_12_MinGW_64_bit-Debug
      dDebugger: C:\Qt_online\Tools\mingw730_64\bin\gdb.exe
      dProject: C:\Users\Michael\Documents\Projects\COW_01
      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: true  (default: false)  ***
      d/UseToolTipsInLocalsView: true  (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_online\Tools\mingw730_64\bin\gdb.exe -i mi
      d[GDB] GDB STARTED, INITIALIZING IT
      <1show version
      <2show debug-file-directory
      <3set max-completions 1000
      <4complete set arch 
      <5set breakpoint pending on
      <6set print elements 10000
      <7set index-cache on
      <8set unwindonsignal on
      <9set width 0
      <10set 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
      <11python sys.path.insert(1, 'C:/Qt_online/Tools/Qt Creator 14.0.0-rc1/share/qtcreator/debugger')
      <12python from gdbbridge import *
      <13python theDumper.loadDumpers({"token":13})
      
      
      >=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 \"x86_64-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 \"x86_64-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"
      >1^done
      d[GDB] PARSING VERSION: 1^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 "x86_64-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 "x86_64-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
      <14-interpreter-exec console "set target-async off"
      
      
      >&"show debug-file-directory\n"
      >~"The directory where separate debug symbols are searched for is \"c:\\c\\mingw730\\x86_64-730-posix-seh-rt_v5-rev0\\mingw64\\lib\\debug\".\n"
      >2^done
      
      
      >&"set max-completions 1000\n"
      >=cmd-param-changed,param="max-completions",value="1000"
      >3^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"
      >4^done
      
      
      >&"set breakpoint pending on\n"
      >=cmd-param-changed,param="breakpoint pending",value="on"
      >5^done
      
      
      >&"set print elements 10000\n"
      >=cmd-param-changed,param="print elements",value="10000"
      >6^done
      
      
      >&"set index-cache on\n"
      >&"No symbol table is loaded.  Use the \"file\" command.\n"
      >7^error,msg="No symbol table is loaded.  Use the \"file\" command."
      
      
      >&"set unwindonsignal on\n"
      >=cmd-param-changed,param="unwindonsignal",value="on"
      >8^done
      
      
      >&"set width 0\n"
      >=cmd-param-changed,param="width",value="4294967295"
      >9^done
      
      
      >&"set height 0\n"
      >10^done
      
      
      >&"python sys.path.insert(1, 'C:/Qt_online/Tools/Qt Creator 14.0.0-rc1/share/qtcreator/debugger')\n"
      >11^done
      
      
      >&"python from gdbbridge import *\n"
      
      
      >&"Traceback (most recent call last):\n"
      >&"  File \"<string>\", line 1, in <module>\n"
      >&"  File \"C:/Qt_online/Tools/Qt Creator 14.0.0-rc1/share/qtcreator/debugger/gdbbridge.py\", line 16, in <module>\n"
      >&"    from dumper import DumperBase, Children, TopLevelItem\n"
      >&"  File \"C:/Qt_online/Tools/Qt Creator 14.0.0-rc1/share/qtcreator/debugger/dumper.py\", line 130, in <module>\n"
      >&"    class DumperBase():\n"
      >&"  File \"C:/Qt_online/Tools/Qt Creator 14.0.0-rc1/share/qtcreator/debugger/dumper.py\", line 3726, in DumperBase\n"
      >&"    @functools.lru_cache(maxsize = None)\n"
      >&"AttributeError: 'module' object has no attribute 'lru_cache'\n"
      >&"Error while executing Python code.\n"
      >12^error,msg="Error while executing Python code."
      
      
      >&"python theDumper.loadDumpers({\"token\":13})\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"
      >13^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)
      
      

      Under QtC 13.0.2 debugging of the same project works.

      Attachments

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

        Activity

          People

            hjk hjk
            moellney Michael Möllney
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes