Debugging Windows Mobile Widgets

4/8/2010

Use the default script debugging feature in Internet Explorer to debug widgets.

To debug a widget with Internet Explorer:

  1. Deploy the relevant Windows Mobile 6 device emulator using Visual Studio.

    Note

    Set Internet Explorer as the default browser. Internet Explorer is the only browser supported for debugging. Remember that Windows Mobile uses Internet Explorer 6.0. If you debug using Internet Explorer version 7 or later in your desktop environment, your widget might not work on the mobile device.

  2. Use Visual Studio to deploy the widget you want to debug.

  3. To debug the widget, in Internet Explorer, click Tools, and then click Developer Tools.

    Note

    The Widget object model is a well-defined set of JavaScript properties, methods, and events that are associated only with widget creation. The RW/RO object models are the only JavaScript object models supported; however, they are not enforced in the debugger. Please ensure that RW/RO are tested properly on the emulator or the actual device to ensure that unexpected behavior is not retained.

See Also

Tasks

Creating Windows Mobile Widgets Using Visual Studio

Concepts

Windows Mobile Widgets Debug Events

Other Resources