• 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: Help on Stack trace
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help on Stack trace


  • Subject: Re: Help on Stack trace
  • From: Arnab Ganguly <email@hidden>
  • Date: Sat, 7 Feb 2009 20:46:16 +0530

What you are saying is perfect.Issue is we are having a existing infrastructure whose functionality is similar to the Crashreport but not as that much refined.
It is able to generate the stack trace with the address information but there are no symbol informations available works perfectly on windows OS.
Hence from the developer's end it is difficult to identify the stack trace.

So I was trying to increase the functionality by using atos and if not available get a closer details using dladdr. I don't have the opportunity to use backtrace function lists as this at present works on Tiger with 10.4 SDK.

Stack traces are being manipulated using the program counter, if I call atos on the program counter followed by the binary the symbol info comes correctly, but not sure about the availabilty so was trying to use dladdr also with info.dli_sname.
Please let me know the approach mentioned above does it make sense considering the reusabilty of the existing framework.
Thanks in advance.
-A

On Sat, Feb 7, 2009 at 4:07 AM, Scott Ribe <email@hidden> wrote:
Would you be better off not doing this yourself, but capturing & parsing the
system-generated report?

--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice



 _______________________________________________
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

  • Follow-Ups:
    • Re: Help on Stack trace
      • From: Scott Ribe <email@hidden>
References: 
 >Re: Help on Stack trace (From: Peter O'Gorman <email@hidden>)
 >Re: Help on Stack trace (From: Scott Ribe <email@hidden>)

  • Prev by Date: Re: Booleans not being set
  • Next by Date: Re: Help on Stack trace
  • Previous by thread: Re: Help on Stack trace
  • Next by thread: Re: Help on Stack trace
  • Index(es):
    • Date
    • Thread