• 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: TraceEventByName on Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TraceEventByName on Leopard


  • Subject: Re: TraceEventByName on Leopard
  • From: Bernard Desgraupes <email@hidden>
  • Date: Wed, 3 Sep 2008 17:30:05 +0200


Le 3 sept. 08 à 17:19, Philip Aker a écrit :


On Sep 3, 2008, at 5:44 AM, Bernard Desgraupes wrote:


I'm having trouble using TraceEventByName() on Leopard. This diagnosis call is explained in TN 2124 '"Mac OS X Debugging Magic") and used to work like a charm under Tiger.
When I try to use it under Leopard (with XCode 3.0), gdb tells that there is no such symbol. For instance:

(gdb) call (void) TraceEventByName("kEventTextAccepted")
Cannot access memory at address 0x4
No symbol "TraceEventByName" in current context.


Is there something special to do to enable this feature ?

Is it this: <http://lists.apple.com/archives/Carbon-dev/2006/Oct/ msg00885.html>?



Hi Philip,

I had seen this message but unfortunately using
(gdb) call (void) _TraceEventByName(@"kEventTextAccepted")

instead of
(gdb) call (void) TraceEventByName("kEventTextAccepted")

yields the same error in gdb:
    No symbol "_TraceEventByName" in current context.




_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >TraceEventByName on Leopard (From: Bernard Desgraupes <email@hidden>)
 >Re: TraceEventByName on Leopard (From: Philip Aker <email@hidden>)

  • Prev by Date: Re: Automatic snapshots
  • Next by Date: RE: Development and Deployment linking to libraries
  • Previous by thread: Re: TraceEventByName on Leopard
  • Next by thread: How to build 64-bit for current architecture only?
  • Index(es):
    • Date
    • Thread