×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jan 2009
    Posts
    19

    How to debug widgets installed on a device?

    Hi
    My widgets works fine on the emulator and deos not work on the device at all - the option menu is not built.
    How can I debug a widget installed on teh device from PC?
    Thank you in advacne,
    Sergey

  2. #2
    Super Contributor
    Join Date
    May 2008
    Location
    Helsinki, Finland
    Posts
    1,100

    Re: How to debug widgets installed on a device?

    Hi Sergey,

    Indeed sometimes it is possible that you got a nice working application on emulator, but when you zip it and send to your device, it may appear to function differently, some functionality can even be disabled. On the otherhand, e.g. device dependent calls e.g. platform related, do not much work on the emulator.

    If your development environment is Aptana, then you could read e.g. this article:
    http://developer.symbian.org/wiki/in...tart#Debugging

    Sometimes simple adding some alert-function calls in codeas breakpoints do the job, but on-device debugging for WRT widget could say being not much there at all.

    You mentioned about option menu problems. It would be great if you could further provide information like on what device you did install your widget - the one that the widget did not work as should.

    Also, what you could do is to check your code against what can be seen in this article:

    http://wiki.forum.nokia.com/index.ph...in_WRT_widgets

    Would you see it possible to post the part of code that you have problems with, or maybe the whole widget? If you do not want to post the widget code all here or attach, you could send it to me via e-mail and I can go thru it and test what might be wrong.

    Best Regards,
    [FONT="Comic Sans MS"][COLOR="Blue"][/COLOR][I]Marko Lumivuori
    Technical Support
    +358 40 8019330
    [email]marko.lumivuori@nokia.com[/email][/I][/FONT]

Similar Threads

  1. Debug on device
    By fabiocberg in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 6
    Last Post: 2010-01-13, 22:22
  2. debug on device, terminated
    By daiqingping in forum Symbian
    Replies: 4
    Last Post: 2009-03-14, 01:40
  3. [moved] On Device Debug Problem
    By gailu in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 6
    Last Post: 2009-02-13, 16:28
  4. [moved] Unable to do device debug with Carbide 2.0
    By gailu in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 4
    Last Post: 2009-02-11, 13:53

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×