Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-19842

still unable to attaching to a child process on a remote device

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 4.5.0
    • Debugger
    • Remote device is an embedded board based on arm iMx6 and the O.S. is a tailored version of Linux where there's the gdb v. 7.5.1 (and gdbserver too of course)

    Description

      The situation is the following:

      An application is running an a remote device; The application starts a child process and I want to attach to this process and set a breakpoint inside it.

      In earlier version of QTCreator (I don't remember which) there were two items in Debug menu: "Attach to Remote Debug Server..." and "Start Remote Debug Server Attached to Process". Playing with them I was able to attach to the child process and debug it. Now to do the same I need to get the pid of the child process (running "top" on the remote device), start the gdbserver (manually) telling it to attach to the process and then, when the gdbserver is ready listening, "Attach to Running Debug Server" from the Debug menu of QTCreator.

      It works but it's quite troublesome. In earlier versions this was easier.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hjk hjk
            kuhdav Marco Villa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes