• 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: can't debug safari plugin when using 64 bit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can't debug safari plugin when using 64 bit


  • Subject: Re: can't debug safari plugin when using 64 bit
  • From: "Paul Sanders" <email@hidden>
  • Date: Tue, 15 Jun 2010 13:52:52 +0100

You can get some information from the Debugger Console window as follows (abbreviations in brackets):
 
info breakpoints (i b) will tall you if your breakpoints have been resolved or not.  If they are reported as PENDING, then either gdb has no symbol table for that dylib or it can't convert a source file and line number to an address (usually because the source files are not where it expects to find them).
 
info line symbol, where symbol is a (code) symbol in your app will report the file and line number the symbol resolves to.  This reports the full path of the file name, which can be handy.  symbol can be an objC method, of the form [class methodname].  You can also use info line *addr, where addr is (amongst other things) a number.  Not the asterisk.  0x prefix specifies hex.
 
I find that sharedlibrary apply-load-rules all (sha app all) sometimes serves to persuade gdb to load your symbols.  Also, sometimes, it only does this when you break in (via Run -> Pause).  It's all a bit black magic.
 
No doubt there are other tools you can use at the console prompt.  I am not a gdb expert.
 
Regards,
 
Paul Sanders
 
 
----- Original Message -----
From: Bill Appleton
To: Paul Sanders
Cc: email@hidden
Sent: Tuesday, June 15, 2010 12:20 AM
Subject: Re: can't debug safari plugin when using 64 bit

hi all,

actually, that is not working

its doing the same thing -- can't hit breakpoints

here is a key question: why does the 64 bit safari behave differently than 32 bit?

if i run my 32 bit npapi plugin it debugs great in safari, but not the 64 bit version

i have downloaded webkit etc to run with safari, maybe that will help

does this ring any bells out there?

thx

bill
 _______________________________________________
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: 
 >can't debug safari plugin when using 64 bit (From: Bill Appleton <email@hidden>)
 >Re: can't debug safari plugin when using 64 bit (From: "Paul Sanders" <email@hidden>)
 >Re: can't debug safari plugin when using 64 bit (From: Bill Appleton <email@hidden>)

  • Prev by Date: (no subject)
  • Next by Date: Locating frameworks
  • Previous by thread: Re: can't debug safari plugin when using 64 bit
  • Next by thread: multilayer build settings
  • Index(es):
    • Date
    • Thread