On Fri, 7 Nov 1997, Franco Gasperino wrote: > There is a beautiful debug library that i use all the time that is standard > on all installs (or should be). Include this header in your .c file: > > #include <assert.h> Assert.h is a nice debug library -- for non-realtime programs. Assert has the bad problem of "crashing" the MUD if you use it. Instead, it is a better idea to do your own bug testing, and if something doesn't work right, print an error and either try to exit the MUD gracefully if possible or move on if it's not a completely horrible bug. -- Kenneth G. Cavness ph#:+1-301-767-0977 | mailto:kcavness@proxicom.com +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST