Remote Debugging
-
wrote on 7 Mar 2012, 21:37 last edited by
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!
-
wrote on 15 Mar 2012, 14:17 last edited by
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!
-
wrote on 30 Apr 2012, 06:50 last edited by
What exactly is the “local executable” path ?
-
wrote on 13 May 2012, 00:52 last edited by
It's a copy of the target executable on the local host.
-
wrote on 21 May 2012, 07:10 last edited by
Can I use the target executable if the target is Linux embedded on ARM32 and my QT Creator is on Windows ?
-
wrote on 21 May 2012, 17:44 last edited by
Yes. It needs to be a copy of the target executable.
-
wrote on 22 May 2012, 05:26 last edited by
And what is the Sysroot ?