I'm trying to debug a C++ application which is running on a Linux box. This application will not build on OS X. I've got the app running on the Linux box, and I can start gdbserver for remote debugging. But since the application doesn't build on OS X, is there a way to use Eclipse on OS X to still debug the app?
我正在尝试调试在Linux机器上运行的C ++应用程序。这个应用程序不会在OS X上构建。我已经在Linux机器上运行了应用程序,我可以启动gdbserver进行远程调试。但是由于应用程序不是基于OS X构建的,有没有办法在OS X上使用Eclipse来调试应用程序?
1 个解决方案
#1
0
Another way, assuming the remote Linux box is an SSH server and has gdb, is to run gdb
on it thru ssh
, e.g.
另一种方法,假设远程Linux机箱是SSH服务器并且具有gdb,则通过ssh运行gdb,例如
ssh remotelinuxbox gdb -tui prog
#1
0
Another way, assuming the remote Linux box is an SSH server and has gdb, is to run gdb
on it thru ssh
, e.g.
另一种方法,假设远程Linux机箱是SSH服务器并且具有gdb,则通过ssh运行gdb,例如
ssh remotelinuxbox gdb -tui prog