Subscribe
« UITableViewController (uitvc) template updated for UITableViewSource | Main | MonoTouch 1.1 Released »
Tuesday
Oct272009

Breaking News: MonoTouch 1.2 with debugging released! (screenshots)

Yes, you read that title correctly, MonoTouch 1.2 supports debugging in MonoDevelop!  I have known about this for a while and I’ve just been waiting for the opportunity to let all of you know this wonderful news.  It hasn’t been an easy secret to keep as it is definitely a game-changing feature for many of you that have been on the fence about whether or not to jump on the MonoTouch bandwagon.  Well, you can’t use lack of debugging as a reason to not justify the purchase any more.

The really cool thing about this debugging support is that it works on both the simulator and the device.  Since Apple does not directly allow third parties to participate in their debugging infrastructure, Geoff Norton and Michael Hutchinson, et al., had to do a lot of work to get this to work and they should be commended for their efforts.  Debugging MonoTouch requires the iPhone to communicate back to the computer.  From the upcoming documentation at http://monotouch.net/Documentation/Upcoming/Debugger:

The MonoTouch debugger is a soft-debugger, that means that the generated code and the Mono runtime cooperate with the MonoDevelop IDE to provide a debugging experience.  This is different than hard debuggers like GDB or MDB which control a program without the knowlege or cooperation from the debugged program.

For on device debugging, your iPhone needs to be on the same Wi-Fi network as your computer (yes, debugging over Wi-Fi…even Apple doesn’t completely allow this).  You should note that the debug build of your code will include the cooperative Mono runtime so the resulting program will be larger than a regular program. This is because the generated code has been instrumented to be debugged.   A debug build will also be slower than a regular release build so it should not be used for performance testing.

The team has put a lot of really hard work into this.  The result of this work is a truly native feeling debugging atmosphere that should be familiar to anyone who has used IDE debugging in the past.  You set a breakpoint on a line and when your code hits that breakpoint you can inspect local variables in the Locals window, see the Call Stack in the Call Stack window, and get on-hover information for variables in your code.  At the end of this post there are screenshots for you enjoyment (and salivation!).

I can really only summarize this release in one word: awesome.  Go check it out for yourself later today at http://monotouch.net and stop into the IRC channel at irc.gnome.org #monotouch and say thanks to the development team for this awesome feature.

Update: According to Miguel de Icaza, there will be a beta of MonoTouch 1.2 available later today.

Here are the screenshots I mentioned previously:

Test App LayoutBreakpoint setBreakpoint hit!Locals and Call StackHover over infoSuccessfully debugged!

PrintView Printer Friendly Version

EmailEmail Article to Friend

Reader Comments (12)

I never thought I would leave to this day! Seriously, mono is becoming The Next Big Thing.

October 27, 2009 | Unregistered Commenterzvolkov

Pretty awesome huh? These guys are just amazing and they are very responsive to our feedback. Gotta love it!

Brent
codesnack.com

October 27, 2009 | Registered Commenterbrentschooley

Yeah this is great news. Thanks for the screenshots Brent. But surely we need a new version of MonoDevelop as well as MonoTouch - right? Either way, looking forward to getting rid of many, many Console.WriteLines!

October 27, 2009 | Unregistered CommenterAlex York

Hey Alex,

Yep there are new versions coming. Miguel said there will be a beta available today sometime.

Brent

October 27, 2009 | Unregistered CommenterBrent Schooley

Incredible...

October 27, 2009 | Unregistered CommenterJames Shaw

My mind has been blowed-up.

October 27, 2009 | Unregistered CommenterMatt

The best part is: yes, it's as good as it looks and then some :)

October 27, 2009 | Registered Commenterbrentschooley

Amazing, I love you.

October 28, 2009 | Unregistered Commenterbob

Hey, I am checking this site from my Blackberry and it looks kinda funky. Thought you’d want to know. It’s a great post though, didn’t mess that up

The Truth About Six Pack Abs Review
Hair Loss Solutions
Health and Fitness
Female Hair Transplant
Cheap Dental Health Insurance
Full Coverage Dental Insurance
Benefits of Affordable Dental Insurance

June 18, 2010 | Unregistered CommenterGowtham

Nice topic!!...Pretty post too!...There is efficient informations about breaking news are quite interesting…..Its very benefit to all of us....There is a lot of helpful information within those links.Thanks for making this all time useful blog with excellent informations….. Thank you so much.....


weather

July 29, 2010 | Unregistered Commenterclaura

As a famous Paris Fashion brand, Herve Leger Strapless is taking great effort to show women`s perfect figures and gentle charactors. 2010 new style Herve Leger help women to show this line of beauty perfectly. This is also the tenet of Herve Leger Strapless .Originating in France,2010 new style Herve Leger also have the charactor as Paris Women does, natural but not fake, romantic, elegant and Vogue .In the 1980s, Moncler Polo Shirt become unprecedentedly popular all over the world. They are poplular because all the
Moncler Jackets Vest are made of high- quality down.So many young people are fascinated with Moncler Polo Shirt , and we guess you must be one of them. Start to be the trend-spotter from owning an Moncler Accessories.The red outsole is the distinctive features of Christian Louboutin Boots , also is the female of gentle, lovely, beautiful and sexy logo.Soon, the red high-heeled Christian Louboutin Flats spread all over the world after Cinderella's fairy tales, especially the big stars and royal aristocrats let
Christian Louboutin Flats appear in the front of the world. Christian Louboutin Boots favor gorgeous colors with various exotic. . No matter what kinds of HERMES PURSE you like, you can have a look at HERMES BELT .Please go and check out, you will be attracted by those beautiful and elegant belt. And among the various Hermes Kelly , there must be one suitable for you.Hermes Lindy&Hermes Evelyne one of the best handbag brands in the world.

July 29, 2010 | Unregistered Commenterjun

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>