×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Sep 2003
    Posts
    77

    error handling with 1.9.7 / 2.0

    I'm currently porting my PyS60 applications from 1.4.5 to 1.9.7/2.0. One of the issues I encountered, is how errors are handled by 1.9.7/2.0.

    I used to have a own error handling routine in my PyS60 applications, that writes the return from traceback.format_exception(*sys.exc_info()) to a text file, that the user can send me. That was helpful several times. In 1.9.7/2.0 a 'top level' error handler seems to be implemented in 'launcher.py', which calls the 'default.py'. Errors are trapped by 'launcher.py' and printed to the console.

    How can I achieve that errors are handled by my application and thus written to my debug text file?

    TIA Martin

  2. #2
    Super Contributor
    Join Date
    Nov 2007
    Location
    Sertaozinho/Brazil
    Posts
    768

    Re: error handling with 1.9.7 / 2.0

    Strange ... I used the same strategy for 1.9.6, documented here:

    http://wiki.forum.nokia.com/index.ph...0_applications

Similar Threads

  1. Python for S60 1.9.7 released
    By tvijayan in forum Symbian
    Replies: 42
    Last Post: 2009-11-27, 14:32
  2. OMA 2.0 DCF or PDCF?
    By robin_cst in forum Digital Rights Management & Content Downloading
    Replies: 0
    Last Post: 2008-05-29, 11:30
  3. FYI: TinyLine 2D 2.0 and TinyLine SVG 2.0
    By girow in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2007-11-26, 06:08
  4. Cardphone 2.0 on XP
    By smudo23 in forum Multimodecards
    Replies: 4
    Last Post: 2003-10-31, 18:21
  5. Will Nokia support 100% MIDP 2.0???
    By gicio in forum Mobile Java Networking & Messaging & Security
    Replies: 5
    Last Post: 2003-08-18, 11:23

Posting Permissions

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