• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: What happens when an application becomes active
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What happens when an application becomes active


  • Subject: Re: What happens when an application becomes active
  • From: d2kagw <email@hidden>
  • Date: Fri, 9 Feb 2007 07:39:50 +1100

Sadly it offers no information what so ever :(

#0	0x90a54387 in objc_msgSend
#1	0xbffff808 in ??
#2	0x93268e28 in -[NSApplication run]
#3	0x9325cd2f in NSApplicationMain
#4	0x0000dffc in main at main.m:13

I've stepped through the entire process from the application sending the NSApplicationDidBecomeActiveNotification to the point of the crash and couldn't seen to find any think out of the ordinary, but I'm not the best debugger in the world...

It's just really bizarre, because my application doesn't have an "interface" but rather just a preference window which is only open on request ( i.e. by going to App>Preferences in the menu )

So, because i'm getting no information about the crash itself, other than '??' im hoping that by understanding the process an application goes through when becoming active...

On 09/02/2007, at 1:56 AM, Finlay Dobbie wrote:

For starters, you should run your application under the debugger and
see what the stack indicates about where your program is crashing.

On 08/02/07, d2kagw <email@hidden> wrote:
Hi there!

I'm having a real hard time at the moment trying to fix a nameless bug.

Basically I'm building a service style application that runs
primarily in the background. The issue I'm having is when the user
does a few things in the application, activates another application
( i.e. switch from my app to iTunes or such ) then switches back to
my app, it crashes!?

Does anyone know what happens when an application becomes active? I
know NSApplication sends out a
NSApplicationDidBecomeActiveNotification which happens just before my
app crashes

Im really starting to lose hair over this one, so any help would be
appreciated.

Thanks!
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: What happens when an application becomes active
      • From: "Finlay Dobbie" <email@hidden>
References: 
 >What happens when an application becomes active (From: d2kagw <email@hidden>)
 >Re: What happens when an application becomes active (From: "Finlay Dobbie" <email@hidden>)

  • Prev by Date: [Moderator] EOT Re: WWDC 2007
  • Next by Date: Re: How do you copy a NSManagedObjectContext
  • Previous by thread: Re: What happens when an application becomes active
  • Next by thread: Re: What happens when an application becomes active
  • Index(es):
    • Date
    • Thread