Struggle a bit more with this because I was trying to figure out how to get more debug information from QT Creator and GDB. To get more information the output has to be viewable and to do this from Qt Creator select from the menu bar Window->Views->Debugger Log.
This opened up quite a lot more information as shown in the attachment (QtCreator_DebuggerLog.png). The full log details are attached as QtCreator_DebuggerLog_LeftPane.txt and QtCreator_DebuggerLog_RightPane.txt.
To summarize the log there is an error that indicates the following:
>&"Traceback (most recent call last):\n"
>&" File \"<string>\", line 1, in <module>\n"
>&" File \"/home/kris/qtcreator-3.4.2/share/qtcreator/debugger/gdbbridge.py\", line 20, in <module>\n"
>&" from dumper import *\n"
>&" File \"/home/kris/qtcreator-3.4.2/share/qtcreator/debugger/dumper.py\", line 37, in <module>\n"
>&" import importlib\n"
>&"ImportError: No module named importlib\n"
>&"Error while executing Python code.\n"
>33^error,msg="Error while executing Python code."
>&"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"
>34^error,msg="Error while executing Python code."
The Ubuntu development machine that I am using has the following python version:
$ python --version
Python 2.7.6
A quick search for this error indicates that it is either a Python version problem (<=2.7) or GDB needs to be rebuilt with '--with-python' option (http://stackoverflow.com/questions/30661671/qt-creator-failed-to-start-debugger ). Since my version of Python is 2.7.6 I am assuming that I need to follow the second option.
Has anyone ran into this issue? Where in the Yocto build configuration does '--with-python' need to be used?