Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. [Qt Creator] Remote debugging QNX embedded target
Forum Updated to NodeBB v4.3 + New Features

[Qt Creator] Remote debugging QNX embedded target

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 1 Posters 1.9k 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.
  • F Offline
    F Offline
    frankem
    wrote on last edited by
    #1

    Dear Qt-Project Forum,

    I would like to remote debug an application on an embedded QNX/ARM target. A debugging server (qconn) is running on the target and I am able to attach to a remote process and fully debug my application from the command line.

    However, I would like to use the integrated debugging from within Qt Creator. Therefore I created a new Debugger for my Kit pointing to the correct target debugger. After running "Debug -> Start Debugging -> Attach to Remote Debugging Server" I filled out the form with all the necessary information needed to connect to the target.

    !https://dl.dropboxusercontent.com/u/55395871/Remote_DBG_Form.png(Remote Debugging Form)!

    When I click "Ok" it shows an error message that the program is not being run.

    !http://dl.dropboxusercontent.com/u/55395871/Error.png(Error message)!

    What does this error mean?

    Also I would like to emphasize that I don't have a SSH-Server running on the target - I don't know if this might be needed for remote debugging with Qt Creator. However, through the netstat command I can see that the connection to the target on port 8000 has been established.

    I am using the latest Qt 5.2.1 SDK with Qt Creator 3.0.1.

    Thanks for any comments on this,

    Markus Franke

    1 Reply Last reply
    0
    • F Offline
      F Offline
      frankem
      wrote on last edited by
      #2

      Meanwhile, I discovered that SSH is most likely mandatory for remote linux debugging. Still I don't understand why this is the case as I am able to run GDB from the command line and attach myself to a process.

      Why is there the need to have a SSH connection to the target, if I just want to attach to a remote process rather than copying any binaries via sftp?

      Thanks for any comments on this

      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