Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Remote Debugging stopped with errors
Forum Updated to NodeBB v4.3 + New Features

Remote Debugging stopped with errors

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 1 Posters 965 Views
  • 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.
  • S Offline
    S Offline
    Sajeevan K
    wrote on 1 Jan 2018, 06:53 last edited by
    #1
    This post is deleted!
    1 Reply Last reply
    0
    • S Offline
      S Offline
      Sajeevan K
      wrote on 1 Jan 2018, 07:08 last edited by
      #2

      Hi all,

      I am able to run a qt GUI application with Qt Creator in a Host System on a Beaglebone revC target. I can run the application using the Run Green Button on the left side.

      But the same application, when I debug, it is showing the following error in the target terminal.

      No protocol specified
      QXcbConnection: Could not connect to display :0.0
      
      Child terminated with signal = 0x6 (SIGABRT)
      GDBserver exiting

      For Remote Debugging, I am following the guide - http://doc.qt.io/qtcreator/creator-debugger-operating-modes.html.

      In my target system Beaglebone black, I have already run sudo apt-get install gdb-multiarch and put the gdbserver in /home/debian directory.

      From /home/debian in target system, I am running the command ./gdbserver :5555 LTC_Qt_App_Ver_0_02.

      Then I use Debug->Start Debugging->Attach to Running Debug Server... in Qt Creator in Host System.

      Debugging is getting started. My main() is as follows.

      QApplication a(argc, argv);
      HomeMenu w;
      w.show();
      return a.exec();

      When I put a breakpoint at Homemenu w ;
      and proceed the above mentioned error appears in target terminal.

      Thanks in advance for the help in solving this problem.

      Thanks & Regards,
      Sajeevan.K

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Sajeevan K
        wrote on 2 Jan 2018, 08:43 last edited by
        #3

        HI all,

        I am working on this 2-3 days. I will put the complete messages in Beaglebone Black terminal - It is as shown below.

        root@beaglebone:/home/debian# ./gdbserver :5555 LTC_Qt_App_Ver_0_02
        Process LTC_Qt_App_Ver_0_02 created; pid = 24035
        Listening on port 5555
        Remote debugging from host 192.168.7.1
        LTC_Qt_App_Ver_0_02: /usr/lib/arm-linux-gnueabihf/libQt5Qml.so.5: no version information available (required by LTC_Qt_App_Ver_0_02)
        LTC_Qt_App_Ver_0_02: /usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: no version information available (required by LTC_Qt_App_Ver_0_02)
        LTC_Qt_App_Ver_0_02: /usr/lib/arm-linux-gnueabihf/libQt5Gui.so.5: no version information available (required by LTC_Qt_App_Ver_0_02)
        LTC_Qt_App_Ver_0_02: /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5: no version information available (required by LTC_Qt_App_Ver_0_02)
        LTC_Qt_App_Ver_0_02: /usr/lib/arm-linux-gnueabihf/libQt5Widgets.so.5: no version information available (required by LTC_Qt_App_Ver_0_02)
        QML debugging is enabled. Only use this in a safe environment.
        No protocol specified
        QXcbConnection: Could not connect to display :0.0

        Child terminated with signal = 0x6 (SIGABRT)
        GDBserver exiting
        root@beaglebone:/home/debian#

        A suggestion to solve this issue shall be very much appreciated.

        Thanks in advance for the help.

        Thanks & Regards,
        Sajeevan.K

        1 Reply Last reply
        0

        1/3

        1 Jan 2018, 06:53

        • Login

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