Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rice!uw-beaver!uw-june!ka From: ka@cs.washington.edu (Kenneth Almquist) Newsgroups: comp.software-eng Subject: Re: assert(): a "tutorial" Summary: Failed assertions should generate a core dump. Keywords: assert() Message-ID: <11448@june.cs.washington.edu> Date: 14 Apr 90 08:24:08 GMT References: <48461@lanl.gov> Organization: U of Washington, Computer Science, Seattle Lines: 4 An implementation of assert() for UNIX should call abort() rather than exit() when the assertion fails. This way, a core dump will be generated and you can debug the code without having to reproduce the error condition. Kenneth Almquist