<!-- MHonArc v2.4.4 --> <!--X-Subject: [MUD-Dev] Re: Technical C/C++ coding question --> <!--X-From-R13: Pra Uerrne <terrneNploreuvtujnl.arg> --> <!--X-Date: Tue, 16 Jun 1998 20:00:09 -0700 --> <!--X-Message-Id: Pine.LNX.3.96.980616195111.13145B-100000#shamen,cyberhighway.net --> <!--X-Content-Type: text/plain --> <!--X-Reference: 19980616183038.28854#divcom,slimy.com --> <!--X-Head-End--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title>MUD-Dev message, [MUD-Dev] Re: Technical C/C++ coding question</title> <!-- meta name="robots" content="noindex,nofollow" --> <link rev="made" href="mailto:greear#cyberhighway,net"> </head> <body background="/backgrounds/paperback.gif" bgcolor="#ffffff" text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000"> <font size="+4" color="#804040"> <strong><em>MUD-Dev<br>mailing list archive</em></strong> </font> <br> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] <br clear=all><hr> <!--X-Body-Begin--> <!--X-User-Header--> <!--X-User-Header-End--> <!--X-TopPNI--> Date: [ <a href="msg01094.html">Previous</a> | <a href="msg01096.html">Next</a> ] Thread: [ <a href="msg01092.html">Previous</a> | <a href="msg01108.html">Next</a> ] Index: [ <A HREF="author.html#01095">Author</A> | <A HREF="#01095">Date</A> | <A HREF="thread.html#01095">Thread</A> ] <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> <H1>[MUD-Dev] Re: Technical C/C++ coding question</H1> <HR> <!--X-Subject-Header-End--> <!--X-Head-of-Message--> <UL> <LI><em>To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI> <LI><em>Subject</em>: [MUD-Dev] Re: Technical C/C++ coding question</LI> <LI><em>From</em>: Ben Greear <<A HREF="mailto:greear#cyberhighway,net">greear#cyberhighway,net</A>></LI> <LI><em>Date</em>: Tue, 16 Jun 1998 19:55:09 -0700 (MST)</LI> <LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI> </UL> <!--X-Head-of-Message-End--> <!--X-Head-Body-Sep-Begin--> <HR> <!--X-Head-Body-Sep-End--> <!--X-Body-of-Message--> <PRE> On Tue, 16 Jun 1998, Jon Leonard wrote: > > I was assuming Ben was looking for just a quick and easy way and that he'd > > add his own error checking. > > Quite possibly. But If I'd included a debugging feature like this in my MUD, > I'd leave it in production code. Doesn't hurt much, and you never know > when you'll need it, and something might break if you take it out (due to > typos, etc). I am using it to find memory problems before I segv in later code. Basically, I implemented a protected list which monitors access to itself. If an assert fails, then I want to dump core right there so I can more easily debug the situation. First time I ran it, I prompty brought my machine to it's knees with about 50 forked processes :) Changed it to just core the current process, I'm debugging anyway. Ben Greear (greear#cyberhighway,net) <A HREF="http://www.primenet.com/~greear">http://www.primenet.com/~greear</A> Author of ScryMUD: mud.primenet.com 4444 <A HREF="http://www.primenet.com/~greear/ScryMUD/scry.html">http://www.primenet.com/~greear/ScryMUD/scry.html</A> </PRE> <!--X-Body-of-Message-End--> <!--X-MsgBody-End--> <!--X-Follow-Ups--> <HR> <!--X-Follow-Ups-End--> <!--X-References--> <UL><LI><STRONG>References</STRONG>: <UL> <LI><STRONG><A NAME="01091" HREF="msg01091.html">[MUD-Dev] Re: Technical C/C++ coding question</A></STRONG> <UL><LI><EM>From:</EM> Jon Leonard <jleonard#divcom,slimy.com></LI></UL></LI> </UL></LI></UL> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg01094.html">[MUD-Dev] Re: Databases: was Re: skill system</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg01096.html">[MUD-Dev] Re: Mozilla: unity of interface</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg01092.html">[MUD-Dev] Re: Technical C/C++ coding question</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg01108.html">[MUD-Dev] Re: Technical C/C++ coding question</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#01095"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#01095"><STRONG>Thread</STRONG></A></LI> </UL> </LI> </UL> <!--X-BotPNI-End--> <!--X-User-Footer--> <!--X-User-Footer-End--> <ul><li>Thread context: <BLOCKQUOTE><UL> <LI><STRONG>[MUD-Dev] Re: Technical C/C++ coding question</STRONG>, <EM>(continued)</EM> <ul compact> <ul compact> <ul compact> <ul compact> <ul compact> <LI><strong><A NAME="01088" HREF="msg01088.html">[MUD-Dev] Re: Technical C/C++ coding question</A></strong>, Jon Leonard <a href="mailto:jleonard#divcom,slimy.com">jleonard#divcom,slimy.com</a>, Tue 16 Jun 1998, 23:52 GMT <UL> <LI><strong><A NAME="01089" HREF="msg01089.html">[MUD-Dev] Re: Technical C/C++ coding question</A></strong>, Katrina McClelan <a href="mailto:kitkat#the486,bradley.edu">kitkat#the486,bradley.edu</a>, Wed 17 Jun 1998, 00:34 GMT <UL> <LI><strong><A NAME="01091" HREF="msg01091.html">[MUD-Dev] Re: Technical C/C++ coding question</A></strong>, Jon Leonard <a href="mailto:jleonard#divcom,slimy.com">jleonard#divcom,slimy.com</a>, Wed 17 Jun 1998, 01:36 GMT <UL> <LI><strong><A NAME="01092" HREF="msg01092.html">[MUD-Dev] Re: Technical C/C++ coding question</A></strong>, Katrina McClelan <a href="mailto:kitkat#the486,bradley.edu">kitkat#the486,bradley.edu</a>, Wed 17 Jun 1998, 01:50 GMT </LI> <LI><strong><A NAME="01095" HREF="msg01095.html">[MUD-Dev] Re: Technical C/C++ coding question</A></strong>, Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Wed 17 Jun 1998, 03:00 GMT </LI> <LI><strong><A NAME="01108" HREF="msg01108.html">[MUD-Dev] Re: Technical C/C++ coding question</A></strong>, Shawn Halpenny <a href="mailto:malachai#iname,com">malachai#iname,com</a>, Wed 17 Jun 1998, 15:41 GMT <UL> <LI><strong><A NAME="01110" HREF="msg01110.html">[MUD-Dev] Re: Technical C/C++ coding question</A></strong>, Shawn Halpenny <a href="mailto:malachai#iname,com">malachai#iname,com</a>, Wed 17 Jun 1998, 15:53 GMT </LI> <LI><strong><A NAME="01224" HREF="msg01224.html">[MUD-Dev] Re: Technical C/C++ coding question</A></strong>, J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Fri 26 Jun 1998, 21:38 GMT </LI> </UL> </LI> </UL> </LI> </UL> </LI> </UL> </LI> </ul> </ul> </ul> </ul> </ul> </LI> <LI><strong><A NAME="00932" HREF="msg00932.html">[MUD-Dev] Nested Coordinate spaces.</A></strong>, Elis Pomales <a href="mailto:pomales#caip,rutgers.edu">pomales#caip,rutgers.edu</a>, Wed 10 Jun 1998, 18:17 GMT </LI> </UL></BLOCKQUOTE> </ul> <hr> <center> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] </center> <hr> </body> </html>