Developing for the Windows Phone 7 - Part 2: Debugging on the Phone

  • Jul 29, 2010 at 12:14 AM
  • Shawn Wildermuth
  • 14 Comments

Windows Phone 7

I've had my phone a couple of days now and been playing with the development experience on the device.  As some of you remember, I've been creating a new Moon Phase application for the phone (called "Moon Phaser").  I'll be releasing the source and you'll be able to install it on your phone (for free) once the Marketplace launches.

I've recorded a little video showing using Visual Studio 2010 and the actual device to debug directly on the device. Yes it works...and yes its fast. I am really happy with the experience. Debugging with the emulator is fast too, but there are times when you want to make sure it works on the device and that the performance is what you expect on the device.  Watch the video here:

Let me know what you think!

(Kudos to Laurent Bugnion for helping me with the phase animation!)

 

Comments

Gravatar

Christian Scott Thursday, July 29, 2010

You say "Yes its fast" and "performance is what you expect on the device".

Are you only referring to the debugging? The actual swiping and animation looked really slow.

Gravatar

Shawn Wildermuth Thursday, July 29, 2010

There wasn't any animation in the app (I am using an animation, but 'seek'ing to a point in the animation to do the moon phase. The swiping was problematic because the device kept moving under my hand (result of holding the camera with my hand, I need a new tripod ;)

Gravatar

Christian Scott Thursday, July 29, 2010

Ah. Okay. Thanks for your quick response.

Gravatar

David Biencinto Tuesday, November 16, 2010

Hi there, Shawn!
I see you can debug WP7 applications directly to the device... I've tried but it says it must be unlocked for development, did you find this handicap also when debugging your application?
I've used Windows Phone Developer Registration but a Marketplace error raised all the time.
I'm starting to think this is all a dream and can be only seen in videos like yours :)
Thanks for all your work..

Gravatar

Shawn Wildermuth Tuesday, November 16, 2010

David,

You have to register your phone but I havent' seen your error. The only caveat is that you must be a Marketplace member (and pay your $99) to unlock phones.

Gravatar

David Biencinto Tuesday, November 16, 2010

So you need to pay $99 in order to debug your application even if you're not thinking about publishing your apps in the Marketplace? :/ how annoying!

I will have to become a member, then.

Thanks, Shawn. I do appreciate your response.

Gravatar

Shawn Wildermuth Tuesday, November 16, 2010

Yes, but only to debug on a device. Why are you building apps that aren't going to the Marketplace? There is no enterprise delviery yet.

Gravatar

Dan Wygant Friday, December 24, 2010

I used WPConnect - I thought that was the key to debugging on the WP7 device.
The one thing I never see if the how to specify to debug on the device instead of emulator. Just noticed it's a dropdown menu on the toolbar - lame.

I guess the one caveat to the $99 marketplace is you can get recompensated if you publish two apps... but you have to sign up to get it back.

Gravatar

Sam Fugarino Saturday, April 23, 2011

Have you released the source code for this app?

Gravatar

Bill Kuhn Thursday, January 05, 2012

So I have to pay to be able to test my app on my Window Phone?
What an incredible load of BS.
I'm not trying to deploy via Microsoft's application store. I'm trying to write an app for internal use by my employees.
If I actually am required to pay this, the phone goes in the trash and my company and my client's company will go android.

Gravatar

Shawn Wildermuth Thursday, January 05, 2012

Sorry Bill, that's the case...its the same for Apple btw.

Gravatar

Nils Thorell Thursday, January 19, 2012

It is really disappointing. Why making things so complicated?
I have struggled several days now. And I still don't how to debug on the phone itself. (I will soon give up, and switch back to Android development.)

Gravatar

Shawn Wildermuth Thursday, January 19, 2012

Nils,

You don't say what you're having trouble with. Is your phone unlocked?


Leave a Comment

*
*
*