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

Re: Coredumps


  • Subject: Re: Coredumps
  • From: Shawn Erickson <email@hidden>
  • Date: Fri, 1 Oct 2004 07:54:31 -0700


On Sep 28, 2004, at 3:01 PM, John Stiles wrote:

Dev Studio on Win32 has a cool coredump feature; if a tester crashes, it can generate a dump file which can recreate most of the process' state in the debugger. So if you get a weird crash in the field or on a machine without developer tools installed, you copy your ".dmp" file to a machine with source and Dev Studio installed, double click it, and there's your crash in the debugger, with full source, a stack crawl, values properly showing up in the variable pane, and most of the niceties you'd expect from a debugger.

Does any Mac development environment have an equivalent feature? I think there's an option to turn on coredumps somewhere, but is there any tool which can use them, outside of gdb? I'd be ecstatic if there were a way to get CodeWarrior to use them, since that's what my apps use at the moment, but I'm not holding my breath. That would be one feature that might sell me on Xcode, though.

>man core

...
NOTE
Core dumps are disabled by default under Darwin/Mac OS X. To re-enable
core dumps, a privlaged user must edit /etc/hostconfig to contain the
line:

COREDUMPS=-YES-
....

Not sure about which tools support the core format.

-Shawn

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: Coredumps
      • From: "R. Scott Thompson" <email@hidden>
  • Prev by Date: Re: Limiting notifications to one document
  • Next by Date: Binding/KVC simple question: access to C struct fields
  • Previous by thread: Re: Brushed Metal Window Dragging
  • Next by thread: Re: Coredumps
  • Index(es):
    • Date
    • Thread