VS2017 Debug my Shared Libraries on Linux Remote

社会主义新天地 提交于 2020-01-17 08:28:28

问题


I have a solution with few projects, in which there are 2 dynamic shared libraries.

When I build the solution on remote system linux based, all goes ok.

Then I try to debug the process. I launch the application directly on the board and try to attach to the process, but I'm not able to step into instructions of my shared libraries.

What's the problem? could it be because, as I read on the output panel, cannot the system load libraries' symbols..?? if so, how do I fix it?


回答1:


thanks to everybody!

I finally solved it. Setting the full path

('/home/user/folder/subfolder/library.so' instead of '../../subfolder/library.so')

for each file to load, the system works fine. ;)



来源:https://stackoverflow.com/questions/44176131/vs2017-debug-my-shared-libraries-on-linux-remote

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!