Debugging mono applications directly on ARM target

天涯浪子 提交于 2019-12-02 19:48:44

Monodevelop can debug remote targets if you have networking going. before launching monodevelop you need to set the environment variable:

MONODEVELOP_SDB_TEST=1

Then when you launch MD you'll have "Custom Mono Soft Debugger" as a "Debug With" option.

On the remote host, launch your debug target like so (I'm assuming it has a shell):

mono --debug \
--debugger-agent=transport=dt_socket,address=0.0.0.0:12345,server=y \
myprogram.exe

In Mono develop, set your breakpoints and then input the IP address of your target machine and the port number above and click Connect. That should break into the debugger remotely.

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