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. [Solved] Qt5 Debugging Problem
Forum Updated to NodeBB v4.3 + New Features

[Solved] Qt5 Debugging Problem

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 2 Posters 2.5k Views 2 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.
  • L Offline
    L Offline
    LouisRyan
    wrote on last edited by koahnig
    #1

    Hi,

    I have Qt5 running on the Beaglebone Black

    I can build an application, deploy and run the application fine.

    The problem is I am unable to debug the application within Qt Creator.

    I can debug the application from the command line.

    When I try to debug with Qt Creator I get the following on the application output tab...

    Debugging starts
    Listening on port 2001
    Debugging has failed
    Debugging has finished

    The log output is:

    QProcess: Destroyed while process ("/opt/poky/qt5/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gdb") is still running.
    Warning: User requested stop. Shutting down...
    (no active run control)
    Warning: HANDLE RUNCONTROL START FAILED (no active run control)
    Warning: State changed from EngineSetupFailed(2) to DebuggerFinished(23) [master] (no active run control)
    Warning: State changed from EngineSetupFailed(2) to DebuggerFinished(23) (no active run control)
    Warning: (gdb) (no active run control)
    Warning: QUIT DEBUGGER REQUESTED IN STATE 23 (no active run control)
    Warning: 107^done (no active run control)
    Warning: (gdb) (no active run control)
    Warning: =cmd-param-changed,param="detach-on-fork",value="off" (no active run control)
    Warning: 108^done (no active run control)
    Warning: (gdb) (no active run control)

    I have tested the device connection and it passes.

    Connecting to host...
    Checking kernel version...
    Linux 3.14.0-yocto-standard armv7l

    Checking if specified ports are available...
    All specified ports are available.

    Device test finished successfully.

    Other Info
    Running Qt Creator on Ubuntu 14.04LTS

    I built the images with Yocto adding Qt5.21 from https://github.com/meta-qt5/meta-qt5.git
    Qt Creator 3.4.0

    Any help or hints would be very much appreciated

    Thanks,
    Louis

    L 2 Replies Last reply
    0
    • L LouisRyan

      Hi,

      I have Qt5 running on the Beaglebone Black

      I can build an application, deploy and run the application fine.

      The problem is I am unable to debug the application within Qt Creator.

      I can debug the application from the command line.

      When I try to debug with Qt Creator I get the following on the application output tab...

      Debugging starts
      Listening on port 2001
      Debugging has failed
      Debugging has finished

      The log output is:

      QProcess: Destroyed while process ("/opt/poky/qt5/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gdb") is still running.
      Warning: User requested stop. Shutting down...
      (no active run control)
      Warning: HANDLE RUNCONTROL START FAILED (no active run control)
      Warning: State changed from EngineSetupFailed(2) to DebuggerFinished(23) [master] (no active run control)
      Warning: State changed from EngineSetupFailed(2) to DebuggerFinished(23) (no active run control)
      Warning: (gdb) (no active run control)
      Warning: QUIT DEBUGGER REQUESTED IN STATE 23 (no active run control)
      Warning: 107^done (no active run control)
      Warning: (gdb) (no active run control)
      Warning: =cmd-param-changed,param="detach-on-fork",value="off" (no active run control)
      Warning: 108^done (no active run control)
      Warning: (gdb) (no active run control)

      I have tested the device connection and it passes.

      Connecting to host...
      Checking kernel version...
      Linux 3.14.0-yocto-standard armv7l

      Checking if specified ports are available...
      All specified ports are available.

      Device test finished successfully.

      Other Info
      Running Qt Creator on Ubuntu 14.04LTS

      I built the images with Yocto adding Qt5.21 from https://github.com/meta-qt5/meta-qt5.git
      Qt Creator 3.4.0

      Any help or hints would be very much appreciated

      Thanks,
      Louis

      L Offline
      L Offline
      LouisRyan
      wrote on last edited by LouisRyan
      #2

      @LouisRyan

      Rebooted PC and debugging now works :)

      How do I mark Solved?

      K 1 Reply Last reply
      0
      • L LouisRyan

        @LouisRyan

        Rebooted PC and debugging now works :)

        How do I mark Solved?

        K Offline
        K Offline
        koahnig
        wrote on last edited by koahnig
        #3

        @LouisRyan
        Hi and welcome to devnet

        How to mark as solved?

        Simply go to the first post where you started. Press the gear wheel on the very right and select the left (Edit) symbol.
        Go to your title and add there [solved] in the beginning of line.

        I will mark it as solved this time for you.

        Vote the answer(s) that helped you to solve your issue(s)

        1 Reply Last reply
        0
        • L LouisRyan

          Hi,

          I have Qt5 running on the Beaglebone Black

          I can build an application, deploy and run the application fine.

          The problem is I am unable to debug the application within Qt Creator.

          I can debug the application from the command line.

          When I try to debug with Qt Creator I get the following on the application output tab...

          Debugging starts
          Listening on port 2001
          Debugging has failed
          Debugging has finished

          The log output is:

          QProcess: Destroyed while process ("/opt/poky/qt5/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gdb") is still running.
          Warning: User requested stop. Shutting down...
          (no active run control)
          Warning: HANDLE RUNCONTROL START FAILED (no active run control)
          Warning: State changed from EngineSetupFailed(2) to DebuggerFinished(23) [master] (no active run control)
          Warning: State changed from EngineSetupFailed(2) to DebuggerFinished(23) (no active run control)
          Warning: (gdb) (no active run control)
          Warning: QUIT DEBUGGER REQUESTED IN STATE 23 (no active run control)
          Warning: 107^done (no active run control)
          Warning: (gdb) (no active run control)
          Warning: =cmd-param-changed,param="detach-on-fork",value="off" (no active run control)
          Warning: 108^done (no active run control)
          Warning: (gdb) (no active run control)

          I have tested the device connection and it passes.

          Connecting to host...
          Checking kernel version...
          Linux 3.14.0-yocto-standard armv7l

          Checking if specified ports are available...
          All specified ports are available.

          Device test finished successfully.

          Other Info
          Running Qt Creator on Ubuntu 14.04LTS

          I built the images with Yocto adding Qt5.21 from https://github.com/meta-qt5/meta-qt5.git
          Qt Creator 3.4.0

          Any help or hints would be very much appreciated

          Thanks,
          Louis

          L Offline
          L Offline
          LouisRyan
          wrote on last edited by
          #4

          @LouisRyan Thanks...

          1 Reply Last reply
          0

          • Login

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