w*s 发帖数: 7227 | 1 ok, i don’t want to mention the pain we went through, me and another very
dedicated engineer are feeling exhausted, very exhausted.
we build c++ code in ubuntu in intel pc, the target runs in arm board.
we can step into the source code for exe, but not for shared library.
say
/aaa is the source code folder for exe, /aaa/1.cpp is the source for 1.exe
/bbb is the folder in target you have /bbb/1.exe
/ccc is the source code folder for shared library, /ccc/2.cpp is the source
for 2.so
/ddd is its folder in target you have /ddd/2.so there
what’re the steps to debug into this 2.so pls ?
where to find the gdb shell in Qt Creator during debugging ?
Thanks you so much ! | m**k 发帖数: 290 | 2 remote debugging and debugging shared lib are two separate problems.
To debug shared lib with gdb, checkout the add-symbol-file command |
|