Debugging mono applications directly on ARM target

后端 未结 1 1796
旧巷少年郎
旧巷少年郎 2021-02-02 03:55

I\'ve recently installed Mono on a BeagleBone embedded ARM device, looking to connect a Kinnect sensor by USB and control it with C#/Mono

I\'m wondering, does Mono (I\'m

相关标签:
1条回答
  • 2021-02-02 04:51

    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.

    0 讨论(0)
提交回复
热议问题