Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Creator Embedded Debugging Setup
Forum Updated to NodeBB v4.3 + New Features

Qt Creator Embedded Debugging Setup

Scheduled Pinned Locked Moved General and Desktop
8 Posts 2 Posters 8.6k 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.
  • G Offline
    G Offline
    goli
    wrote on last edited by
    #1

    I need to debbug my program on arm system. I read the manual in http://processors.wiki.ti.com/index.php/Qt_Creator_Embedded_Debugging_Setup

    I use VmPlayer for ubuntu, and i have Qt Creator 2.4.1
    I donwload the "Linux EZ Software Development Kit (EZSDK) " in the ubuntu, but when i try to connect the device from the qtcreator as describe in this site i get this message:

    "Connecting to host...
    SSH connection failure: Timeout waiting for reply from server.

    Device test failed."

    from the shell in the ubuntu the SSH success, and i can see the device.
    (command: ssh -o 'StrictHostKeyChecking no' root@1.0.0.1)

    does anyone know where I'am wrong?

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      This could be caused by incompatibilities between Qt Creator's ssh library and the ssh server on the device.

      Do you have any idea which one is used there? Which version of the ssh protocol does it support?

      1 Reply Last reply
      0
      • G Offline
        G Offline
        goli
        wrote on last edited by
        #3

        Where can i find this information?

        on thee device i have sshd, ssh-keygen(but it does'nt metter because the host is trying to connect the device using SSH)

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tobias.hunger
          wrote on last edited by
          #4

          I don't know. In the documentation of your board? Maybe you will need to poke around the device itself for a bit, figuring out which process is actually listening on the SSH port (22). Usually it should be dropbear or sshd or something like that...

          Starting that binary with --version or -v appended usually gets you the version number.

          1 Reply Last reply
          0
          • G Offline
            G Offline
            goli
            wrote on last edited by
            #5

            on thee device i have sshd, ssh-keygen.
            but it does’nt metter because the host is trying to connect the device using SSH, and not vice versa. Also, i able to do ssh from the ubuntu(without the qt)

            1 Reply Last reply
            0
            • T Offline
              T Offline
              tobias.hunger
              wrote on last edited by
              #6

              sshd is the process that is listening for your ssh client to connect. It does matter:-)

              I am curious about this since the issue might be a incompatibility between the ssh library built into Qt Creator and the SSH daemon on the device. Creator does not use the ssh binary on your ubuntu, so whether that one can connect or not is of little consequence: It does give a hint that things should also work inside Creator, but that's it.

              1 Reply Last reply
              0
              • G Offline
                G Offline
                goli
                wrote on last edited by
                #7

                So how can I create and use remote debug for my applicatio on the device (with QtCreator or without QtCreator)?

                1 Reply Last reply
                0
                • G Offline
                  G Offline
                  goli
                  wrote on last edited by
                  #8

                  when i go to Debug > Start Debugging > Attach to Remote Debug Server, and init the host and port, and all other attributes, I insert into debug mode, but the program does not stop in the breakpoints i put in the files on host. when i pause the debug it stop in assembler code.

                  The output i get for the debug is:
                  Could not load shared library symbols for 48 libraries, e.g. /usr/lib/libglib-2.0.so.0.
                  Use the "info sharedlibrary" command to see the complete listing.
                  Do you need "set solib-search-path" or "set sysroot"?Unable to find dynamic linker breakpoint function.
                  GDB will be unable to debug shared library initializers
                  and track explicitly loaded dynamic code.

                  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