Re: dump core
Re: dump core
- Subject: Re: dump core
- From: Sean Ahern <email@hidden>
- Date: Thu, 26 Jun 2003 16:40:44 -0700
matt shultz wrote:
> how can i get my application to dump core? it's not dumping core.
Short answer: X11 applications never dump core when they receive a protocol
error. They just exit.
Long answer: You can make them core, but it takes a bit of work. Look
at the X11 calls XSetErrorHandler and XSynchronize. With the
appropriate calls, you can make all X11 calls synchronous, and have your
error handler be called whenever something bad happens. You abort()
inside your error handler, and you're in a much better state.
-Sean
__
email@hidden
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.
References: | |
| >dump core (From: matt shultz <email@hidden>) |