Important: Please read the Qt Code of Conduct -

Qt Creator Embedded Debugging Setup

  • I need to debbug my program on arm system. I read the manual in

    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@

    does anyone know where I'am wrong?

  • Moderators

    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?

  • 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)

  • Moderators

    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.

  • 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)

  • Moderators

    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.

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

  • 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/
    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.

Log in to reply