VS2017在Linux远程平台上调试我的共享库 [英] VS2017 Debug my Shared Libraries on Linux Remote

查看:161
本文介绍了VS2017在Linux远程平台上调试我的共享库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个项目很少的解决方案,其中有2个动态共享库。

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

当我在基于linux的远程系统上构建解决方案时,一切正常。

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?

推荐答案

感谢大家!

我终于解决了。
设置完整路径

I finally solved it. Setting the full path

('/ home / user / folder / subfolder / library.so'而不是'../../subfolder/library .so')

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

对于每个要加载的文件,系统都可以正常运行。 ;)

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

这篇关于VS2017在Linux远程平台上调试我的共享库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆