Debugger 8.1 32 bit not working after Update to QT Creator 14.0.0
-
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 ismaybe 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. -
@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.
-
For 64 there this solution.
https://forum.qt.io/topic/157918/qt-creator-14-is-unable-to-debut-a-qt-5-project/9?_=1722343450812 -
did a copy if the kit and changed the debugger for a higher version. thanks to JonB
-