You Are Here:

Community: Developer Discussion Boards

#1 Old Exit problem when using Trace - 2008-03-27, 12:03

Join Date: Mar 2003
Posts: 937
Location: Espoo, Finland
JOM's Avatar
JOM
Offline
Forum Nokia Champion
30 min lunchbreak, have to write fast...

I'm experimenting with sys.settrace() in a pyS60 application. Start ok, run ok, but after exit python shell does not appear. Title is changed from "My App" to "Python", but otherwise it still looks like my app... Second press on RSK exits python to AppShell. LSK seems to be partly connected to my app.

Is this a defect or is there something I need to do to cleanly close tracing? Now it looks like I almost exist but quite fully.

Exit is done this way:

Code:
class Main(object):
  def cb_quit(self):
    global gRunning
    gRunning = RUN_NOT
    app_lock.signal()

m = Main()
app_lock = e32.Ao_lock()
app_lock.wait()
--jouni
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem adding exit command to GameCanvas tobyw_1969 Symbian User Interface 1 2006-08-01 08:52
S_60 a problem with exit app. gadkii Mobile Java General 3 2004-06-13 09:08
6600 Embedded exit problem with firmware 4.09.1 turnburs General Symbian C++ 1 2004-06-03 06:58
7650 Exit() vs User::Exit(0) mikebrin Symbian Networking & Messaging 2 2003-05-26 16:35
7210 Silent Problem MarkMckim Mobile Java General 1 2003-03-18 13:36

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia