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. Remote Debugging

Remote Debugging

Scheduled Pinned Locked Moved Qt Creator and other tools
7 Posts 3 Posters 5.3k Views
  • 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.
  • T Offline
    T Offline
    terryfryar
    wrote on last edited by
    #1

    Qt embedded 4.7.4 cross compiled to arm using codesourcery 2010.09-50. Using Qt Creator 2.4.1 to try and remote debug an application running on target board. Host is Ubuntu, target is beagleboard.

    I have added the Qt version and toolchain to creator. I can start gdbserver on target and successfully connect to it in creator using "attach to remote debug server". I can do an interrupt and the program halts. F5 gets it running again. Great!

    However....none of the breakpoints work! Yes...it's compiled in debug mode! Maybe I'm missing some settings in the "start debugger" dialog box? I can't find any documentation on any of these fields???

    What is:

    • Debugger
    • Local executable
    • Location of debugging information
    • Override host GDB start script

    Thanks!

    1 Reply Last reply
    0
    • T Offline
      T Offline
      terryfryar
      wrote on last edited by
      #2

      I was missing the "local executable" path. The local side of the remote debugger didn't have a path to the file being debugged so it could load it...and thus it's symbol tables! No symtables, no breakie points!!

      So...if you are remote debugging, make sure the local executable path is filled out!

      1 Reply Last reply
      0
      • A Offline
        A Offline
        aabc
        wrote on last edited by
        #3

        What exactly is the “local executable” path ?

        1 Reply Last reply
        0
        • D Offline
          D Offline
          Duck
          wrote on last edited by
          #4

          It's a copy of the target executable on the local host.

          1 Reply Last reply
          0
          • A Offline
            A Offline
            aabc
            wrote on last edited by
            #5

            Can I use the target executable if the target is Linux embedded on ARM32 and my QT Creator is on Windows ?

            1 Reply Last reply
            0
            • D Offline
              D Offline
              Duck
              wrote on last edited by
              #6

              Yes. It needs to be a copy of the target executable.

              1 Reply Last reply
              0
              • A Offline
                A Offline
                aabc
                wrote on last edited by
                #7

                And what is the Sysroot ?

                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