Debug Mono Applications Directly on an ARM Target

I recently installed Mono on a BeagleBone ARM device, hoping to plug in a Kinnect sensor via USB and control it using C # / Mono

I am interested in Mono (I use MonoDevelop, but I think this question also applies to VS) allows you to develop locally and then debug the code with a remote target? If so, how can this be done?

I heard that Soft Debugger may be what I need, but after he went into the configuration and looking at the documents, I can’t find what I need ....

Thanks!

+6
source share
1 answer

Monodevelop can debug remote targets if you have networks. before running monodevelop you need to set the environment variable:

MONODEVELOP_SDB_TEST=1 

Then, when you start MD, you will have "Custom Mono Soft Debugger" as the option "Debug with".

On the remote host, run the debug landing page (I assume it has a shell):

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

In Mono, create, set your breakpoints, and then enter the IP address of the target computer and the port number above and click "Connect." This should be removed to the debugger remotely.

+10
source

Source: https://habr.com/ru/post/917251/


All Articles