Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Debugger 8.1 32 bit not working after Update to QT Creator 14.0.0
Forum Updated to NodeBB v4.3 + New Features

Debugger 8.1 32 bit not working after Update to QT Creator 14.0.0

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 3 Posters 719 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • TekenochichiT Offline
    TekenochichiT Offline
    Tekenochichi
    wrote on last edited by
    #1

    Hello everyone,

    i updated my qt creator to 14.0.0 from 12.
    After the update i can´t use the debugger.
    i also updated pyhton to the act version.
    used standard kit is

    0a24fb72-33af-4230-922c-61d7ff59aa86-grafik.png

    maybe someone have the same problem or an idea.

    i attached the debugger logs:

    &"set substitute-path /Users/qt/work/qt M:/Qt/5.15.2/Src\n"
    201^done

    &"set substitute-path C:/work/build/qt5_workdir/w/s M:/Qt/5.15.2/Src\n"
    202^done

    &"set substitute-path Q:/qt5_workdir/w/s M:/Qt/5.15.2/Src\n"
    203^done

    &"set substitute-path c:/Users/qt/work/install M:/Qt/5.15.2/Src\n"
    204^done

    &"set substitute-path c:/users/qt/work/qt M:/Qt/5.15.2/Src\n"
    205^done

    &"python sys.path.insert(1, 'M:/Qt/Tools/QtCreator/share/qtcreator/debugger')\n"
    206^done

    &"python from gdbbridge import *\n"
    &"Traceback (most recent call last):\n"
    &" File "<string>", line 1, in <module>\n"
    &" File "M:/Qt/Tools/QtCreator/share/qtcreator/debugger/gdbbridge.py", line 16, in <module>\n"
    &" from dumper import DumperBase, Children, TopLevelItem\n"
    &" File "M:/Qt/Tools/QtCreator/share/qtcreator/debugger/dumper.py", line 130, in <module>\n"
    &" class DumperBase():\n"
    &" File "M:/Qt/Tools/QtCreator/share/qtcreator/debugger/dumper.py", line 3729, in DumperBase\n"
    &" @functools.lru_cache(maxsize = None)\n"
    &"AttributeError: 'module' object has no attribute 'lru_cache'\n"
    &"Error while executing Python code.\n"
    207^error,msg="Error while executing Python code."

    &"python theDumper.loadDumpers({"token":208})\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"
    208^error,msg="Error while executing Python code."
    d[GDB] NOTE: ENGINE SETUP FAILED
    d[GDB] State changed from EngineSetupRequested(1) to EngineSetupFailed(2)
    <Debuggen schlug fehl.
    d[GDB] State changed from EngineSetupFailed(2) to DebuggerFinished(16)

    191show version
    192show debug-file-directory
    193set max-completions 1000
    194complete set arch
    195set breakpoint pending on
    196set print elements 10000
    197set index-cache on
    198set unwindonsignal on
    199set width 0
    200set height 0
    Bereite zu debuggenden Prozess vor...
    201set substitute-path /Users/qt/work/qt M:/Qt/5.15.2/Src
    202set substitute-path C:/work/build/qt5_workdir/w/s M:/Qt/5.15.2/Src
    203set substitute-path Q:/qt5_workdir/w/s M:/Qt/5.15.2/Src
    204set substitute-path c:/Users/qt/work/install M:/Qt/5.15.2/Src
    205set substitute-path c:/users/qt/work/qt M:/Qt/5.15.2/Src
    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
    206python sys.path.insert(1, 'M:/Qt/Tools/QtCreator/share/qtcreator/debugger')
    207python from gdbbridge import *
    208python theDumper.loadDumpers({"token":208})
    209-interpreter-exec console "set target-async off"
    Debuggen schlug fehl.

    52a341ee-93a0-4c0e-a16e-ef60d0262be1-grafik.png

    JonBJ 1 Reply Last reply
    0
    • TekenochichiT Tekenochichi

      Hello everyone,

      i updated my qt creator to 14.0.0 from 12.
      After the update i can´t use the debugger.
      i also updated pyhton to the act version.
      used standard kit is

      0a24fb72-33af-4230-922c-61d7ff59aa86-grafik.png

      maybe someone have the same problem or an idea.

      i attached the debugger logs:

      &"set substitute-path /Users/qt/work/qt M:/Qt/5.15.2/Src\n"
      201^done

      &"set substitute-path C:/work/build/qt5_workdir/w/s M:/Qt/5.15.2/Src\n"
      202^done

      &"set substitute-path Q:/qt5_workdir/w/s M:/Qt/5.15.2/Src\n"
      203^done

      &"set substitute-path c:/Users/qt/work/install M:/Qt/5.15.2/Src\n"
      204^done

      &"set substitute-path c:/users/qt/work/qt M:/Qt/5.15.2/Src\n"
      205^done

      &"python sys.path.insert(1, 'M:/Qt/Tools/QtCreator/share/qtcreator/debugger')\n"
      206^done

      &"python from gdbbridge import *\n"
      &"Traceback (most recent call last):\n"
      &" File "<string>", line 1, in <module>\n"
      &" File "M:/Qt/Tools/QtCreator/share/qtcreator/debugger/gdbbridge.py", line 16, in <module>\n"
      &" from dumper import DumperBase, Children, TopLevelItem\n"
      &" File "M:/Qt/Tools/QtCreator/share/qtcreator/debugger/dumper.py", line 130, in <module>\n"
      &" class DumperBase():\n"
      &" File "M:/Qt/Tools/QtCreator/share/qtcreator/debugger/dumper.py", line 3729, in DumperBase\n"
      &" @functools.lru_cache(maxsize = None)\n"
      &"AttributeError: 'module' object has no attribute 'lru_cache'\n"
      &"Error while executing Python code.\n"
      207^error,msg="Error while executing Python code."

      &"python theDumper.loadDumpers({"token":208})\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"
      208^error,msg="Error while executing Python code."
      d[GDB] NOTE: ENGINE SETUP FAILED
      d[GDB] State changed from EngineSetupRequested(1) to EngineSetupFailed(2)
      <Debuggen schlug fehl.
      d[GDB] State changed from EngineSetupFailed(2) to DebuggerFinished(16)

      191show version
      192show debug-file-directory
      193set max-completions 1000
      194complete set arch
      195set breakpoint pending on
      196set print elements 10000
      197set index-cache on
      198set unwindonsignal on
      199set width 0
      200set height 0
      Bereite zu debuggenden Prozess vor...
      201set substitute-path /Users/qt/work/qt M:/Qt/5.15.2/Src
      202set substitute-path C:/work/build/qt5_workdir/w/s M:/Qt/5.15.2/Src
      203set substitute-path Q:/qt5_workdir/w/s M:/Qt/5.15.2/Src
      204set substitute-path c:/Users/qt/work/install M:/Qt/5.15.2/Src
      205set substitute-path c:/users/qt/work/qt M:/Qt/5.15.2/Src
      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
      206python sys.path.insert(1, 'M:/Qt/Tools/QtCreator/share/qtcreator/debugger')
      207python from gdbbridge import *
      208python theDumper.loadDumpers({"token":208})
      209-interpreter-exec console "set target-async off"
      Debuggen schlug fehl.

      52a341ee-93a0-4c0e-a16e-ef60d0262be1-grafik.png

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @Tekenochichi said in Debugger 8.1 32 bit not working after Update to QT Creator 14.0.0:

      object has no attribute 'lru_cache'

      I believe if you search the forums you will find others saying same for Creator 14, and it's because this requires Python 3.x and I think this error message indicates you have 2.7? Check if I am right.

      1 Reply Last reply
      2
      • piervalliP Offline
        piervalliP Offline
        piervalli
        wrote on last edited by
        #3

        For 64 there this solution.
        https://forum.qt.io/topic/157918/qt-creator-14-is-unable-to-debut-a-qt-5-project/9?_=1722343450812

        1 Reply Last reply
        0
        • TekenochichiT Offline
          TekenochichiT Offline
          Tekenochichi
          wrote on last edited by
          #4

          did a copy if the kit and changed the debugger for a higher version. thanks to JonB

          grafik.png

          1 Reply Last reply
          1
          • TekenochichiT Tekenochichi has marked this topic as solved on

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved