×

Discussion Board

Results 1 to 12 of 12
  1. #1
    Registered User
    Join Date
    Mar 2012
    Posts
    16

    Re: S40 On Device Debugging (ODD)

    Hi,
    I wann debug an application on s40 which i developed using HTML and javascript .. on simulator it works all fine but i dont see it working the same on device nokia 300 asha phone
    Can i get some help here plz ... thanks in advance

  2. #2
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: S40 On Device Debugging (ODD)

    Since your Query is regarding Web Apps on Series 40 I am movign it here.

    Regards
    Gopal

  3. #3
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: S40 On Device Debugging (ODD)

    Quote Originally Posted by PoojaKaregoudar View Post
    Hi,
    I wann debug an application on s40 which i developed using HTML and javascript .. on simulator it works all fine but i dont see it working the same on device nokia 300 asha phone
    Can i get some help here plz ... thanks in advance
    With the current version of Web Tools, AFAIK its not possible to do ODD for Series 40 Web Apps. But debug in the emulator should work fine.

    Regards
    Gopal

  4. #4
    Registered User
    Join Date
    Mar 2012
    Posts
    16

    Re: S40 On Device Debugging (ODD)

    Hi, wat are the other ways to debug the app then ? cause i see it working fine with simulator but fails on nokia 300 phone ..

  5. #5
    Nokia Developer Expert
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    833

    Re: S40 On Device Debugging (ODD)

    Hi,

    For debugging you could make a simple PHP script that writes trace messages, posted posted by your Web App, into a log file.

    Please remember that there is a huge difference between local preview and cloud preview. Cloud preview is the one that should be used in development work as it uses Proxy in similar way as actual Series 40 device.

    Local preview is meant for debugging JavaScript/CSS problems that you might encounter during development. It does not utilize proxy at all.

    Br,
    Ilkka

  6. #6
    Registered User
    Join Date
    Mar 2012
    Posts
    16

    Re: S40 On Device Debugging (ODD)

    thanks for reply .. but if i run it on cloud preview most of the tags are getting dropped may i know y ? when i try to debug this is wat is get -
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> will be dropped.
    - <link rel="StyleSheet" href="css/debug.css" type="text/css"/> will be dropped.
    - Script node was dropped
    - Script node was dropped
    - Script node was dropped
    - Script node was dropped
    - <link rel="stylesheet" href="basic.css" type="text/css/basic.css"/> will be dropped.
    - <meta name="Generator" content="Nokia WDE 3.5.0"/> will be dropped.

    why are all this node dropped ??

  7. #7
    Registered User
    Join Date
    Mar 2012
    Posts
    16

    Re: S40 On Device Debugging (ODD)

    - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> will be dropped.
    - <link rel="StyleSheet" href="css/debug.css" type="text/css"/> will be dropped.
    - Script node was dropped
    - Script node was dropped
    - Script node was dropped
    - Script node was dropped
    - <link rel="stylesheet" href="basic.css" type="text/css/basic.css"/> will be dropped.
    - <meta name="Generator" content="Nokia WDE 3.5.0"/> will be dropped.

  8. #8
    Nokia Developer Expert
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    833

    Re: S40 On Device Debugging (ODD)

    Hi,

    No reason to worry. Proxy optimizes content that is sent to device, and that is the reason why you see all of those dropped -messages.
    The code is still accessible within the web app, it is just run in a proxy server.

    Please see chapter 1.1.
    http://tools.nokia.com/wt/doc/jsdt/s..._Reference.pdf


    -Ilkka

  9. #9
    Registered User
    Join Date
    Mar 2012
    Posts
    16

    Re: S40 On Device Debugging (ODD)

    hi,
    i went through guide given here http://tools.nokia.com/wt/doc/jsdt/s..._Reference.pdf
    in appendix B it says it does not support position:relative; in css .. is ther any other replacement for it which does the same wrk as position do .. as it play a vital role in my app

  10. #10
    Nokia Developer Expert
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    833

    Re: S40 On Device Debugging (ODD)

    Hi,

    You could try to play with margins. I.e. adding negative or positive margins to elements.
    Example in chapter 5.2.1:
    http://tools.nokia.com/wt/doc/jsdt/s...ices_Guide.pdf

    Br,
    Ilkka

  11. #11
    Registered User
    Join Date
    Mar 2012
    Posts
    16

    Re: S40 On Device Debugging (ODD)

    hi,

    where can i get Nokia Web Tools 1.2 for Symbian .. in this link http://www.developer.nokia.com/info/...r_Symbian.html i see only the patch release ... can yu plz help me

  12. #12
    Registered User
    Join Date
    Mar 2012
    Posts
    16

    Re: S40 On Device Debugging (ODD)

    hi,
    where can i get the Nokia Web Tools 1.2 for Symbian ... in the given link http://www.developer.nokia.com/info/...r_Symbian.html i see only patch release ... can i get some help here

Similar Threads

  1. On-device debugging: Reading debug messages from device is too slow
    By elviin in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 0
    Last Post: 2010-05-12, 14:55
  2. Device debugging over USB cable, or bluetooth on s40 device
    By swati.agarwal in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2010-01-29, 10:43
  3. Debugging a Dll on device
    By joelalen in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 4
    Last Post: 2008-08-27, 15:22
  4. Problems with on device debugging on N80 device
    By grai in forum Mobile Java Tools & SDKs
    Replies: 7
    Last Post: 2007-08-16, 15:05
  5. DLL Debugging on device
    By cli in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2006-11-24, 09:03

Posting Permissions

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