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