• 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
NSAssert Error output contains source code path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSAssert Error output contains source code path


  • Subject: NSAssert Error output contains source code path
  • From: Jaime Magiera <email@hidden>
  • Date: Fri, 9 Mar 2007 15:35:11 -0500

Hello folks,

I just had something odd happen... A user of the software project I inherited ran into a program error. There's an NSAssert in the code whose result is output to console. The error shows the path of the class when it was compiled:

*** Assertion failure in -[blahblah resizeImages], /Users/jaimelm/ project/blablah.mm:1593

Is this expected behavior? Is there something that might have done wrong? I'm unclear on where/why for this? any thoughts? It's a little bit disconcerting because the user was like "Hey, how come this strange username is in the error?"

thanks,

Jaime

Jaime Magiera
Sensory Research Network
http://www.sensoryresearch.net




_______________________________________________

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: NSAssert Error output contains source code path
      • From: email@hidden
  • Prev by Date: Re: Multi-threaded help
  • Next by Date: Re: NSAssert Error output contains source code path
  • Previous by thread: Re: NSArrayController on multi-window Document-based app
  • Next by thread: Re: NSAssert Error output contains source code path
  • Index(es):
    • Date
    • Thread