views:

109

answers:

3

I have installed mono, the monotouch SDK and monodevelop. I have a sample project which I can set breakpoints on in the IDE. However I can't find any option to run my sample program so that the breakpoints are hit and I can step through the code. Is this functionality unavailable on the evaluation version, or am I missing something?

+1  A: 

Softmode debugging has been added in Monotouch 1.2 Debugging was not working in the previous versions. Make sure you have updated to the latest version.

Yann Schwartz
+1  A: 

From the MonoTouch home page (as of 11-14-2009 (that's MM-DD-YYYY for the non-'Mericans)):

If you are evaluating MonoTouch, you can get your evaluation copy with the debugger from our evaluation page

Just make sure you follow the directions for installation. The order in which you install the bits matters (Mono, MonoDevelop, and MonoTouch).

They also have detailed instructions - as of today (11-14-2009 (that's MM-DD-YYYY for the non-'Mericans)), there's a note in red at the bottom of the page indicating the importance of which version of MonoDevelop you need.

They've been moving quickly, adding features and fixing bugs. The upside to that is obvious - the downside is that you have to make sure you keep your Mono stack in sync with those advances. Fortunately, once you get used to it, it's really not bad - it becomes routine.

A lot of this stuff is beta, too, so some extra legwork is to be expected. But it's worth it - I just started playing with the debugger despite having used MT since its release. I was so used to not having it that I didn't even bother. But when I did, I was surprised because... well, because it works :)

I've had a couple problems (again: beta), but they're getting it figured out.

Hope this helps :)

Rory Blyth
A: 

I had a similar issue, but after upgrading all the bits, the debugger refuses to connect to the simulator. MonoDevelop pops a box saying "Waiting for debugger to connect on 127.0.0.1:10000..." but never connects.

I have uninstalled and reinstalled everything, but still have the same issue.

What am I missing?

Thanks in advance.

Kris