• 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
NSWindow's -discardEventsMatchingMask:beforeEvent: causes log message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSWindow's -discardEventsMatchingMask:beforeEvent: causes log message


  • Subject: NSWindow's -discardEventsMatchingMask:beforeEvent: causes log message
  • From: Izidor Jerebic <email@hidden>
  • Date: Fri, 7 Dec 2001 17:51:38 +0100

Hello!

The problem is that the following line of code produces an error message in system log using NSLog every time it is executed ('e' is NSEvent, 'view'
is a subclass of NSView):

[[view window] discardEventsMatchingMask:NSPeriodicMask beforeEvent:e] ;

The log message is:

2001-12-07 17:37:08.478 MyApp[281] _DPSDiscardEvents: ignoring eventTime endpoint

When I put the breakpoint on NSLog, the backtrace shows this:

(gdb) bt
#0 0x7084b380 in NSLog ()
#1 0x70c726f8 in +[NSEvent _discardEventsWithMask:eventTime:] ()
#2 0x70da08f0 in -[NSWindow discardEventsMatchingMask:beforeEvent:] ()
... the rest are application methods

Now, besides being a potential performance problem, this may also be a serious problem - maybe I should avoid this method. But documentation says nothing about it...

Is anybody experiencing the same behaviour?

Is there a workaround? Anybody cares to illuminate the situation?

TIA,
izidor


  • Prev by Date: Moving NSTableView entries around
  • Next by Date: Re: monitoring file modifications
  • Previous by thread: Re: Moving NSTableView entries around
  • Next by thread: OT: no more breakpoints in PB-gdb
  • Index(es):
    • Date
    • Thread