I have successfully embedded mono into an existing iphone app. There are some issues that I need to debug in the code on the mono side on the device. The issue I’m seeing is only happening on the device. The xcode debugger obviously can’t help me. Is there a way to debug the embedded mono code using MonoDevelop?
I have successfully embedded mono into an existing iphone app. There are some issues
Share
In the part of your app that initializes the Mono runtime, you need to initialize the Mono soft debugger, and make it connect to the host machine’s IP.
Then you need to have MonoDevelop listening for a debugger connection. For MonoTouch, this is done using a custom addin, but there’s a secret command that allows directly connecting the soft debugger for any project. It’s enabled using the
MONODEVELOP_SDB_TESTenvironment variable: Run->Run with…->Custom Soft Debugger.