Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Unable to debug Qt application
Forum Updated to NodeBB v4.3 + New Features

Unable to debug Qt application

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 902 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.
  • J Offline
    J Offline
    jigarp
    wrote on 26 Oct 2017, 05:26 last edited by
    #1

    Hello

    I'm using Qt for cross compiling am335x processor with linux kernel 4.9.28 on ubuntu 16.04.
    I'm unable to debug my linux application using Qt creator 4.0.2 based on Qt 5.7.0.
    while trying to debug it shows this as output
    Debugging starts
    Listening on port 10000
    Debugging has failed

    Here i'm posting my debug log last lines

    &"python sys.path.append('/home/jigar/ti-processor-sdk-linux-am335x-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/data-directory/python')\n"
    12^done

    &"python from gdbbridge import *\n"
    &"Traceback (most recent call last):\n"
    &" File "<string>", line 1, in <module>\n"
    &" File "/home/jigar/Qt5.7.0/Tools/QtCreator/share/qtcreator/debugger/gdbbridge.py", line 41, in <module>\n"
    &" from dumper import *\n"
    &" File "/home/jigar/Qt5.7.0/Tools/QtCreator/share/qtcreator/debugger/dumper.py", line 32, in <module>\n"
    &" import json\n"
    &"ImportError: No module named 'json'\n"
    &"Error while executing Python code.\n"
    13^error,msg="Error while executing Python code."

    &"python theDumper.loadDumpers({"token":14})\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"
    14^error,msg="Error while executing Python code."
    dNOTE: ENGINE SETUP FAILED
    dState changed from EngineSetupRequested(1) to EngineSetupFailed(2) [master]
    dHANDLE RUNCONTROL FINISHED

    
    

    Thank you

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 26 Oct 2017, 12:40 last edited by
      #2

      Looks like Python import error. Try installing the json module via pip, perhaps?

      And definitely update your Qt Creator to newest version.

      (Z(:^

      1 Reply Last reply
      1

      1/2

      26 Oct 2017, 05:26

      • Login

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