MUD-Dev
mailing list archive
[ Other Periods
| Other mailing lists
| Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
[MUD-Dev] Re: Technical C/C++ coding question
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) http://www.primenet.com/~greear
Author of ScryMUD: mud.primenet.com 4444
http://www.primenet.com/~greear/ScryMUD/scry.html
- Thread context:
- [MUD-Dev] Re: Technical C/C++ coding question, (continued)
- [MUD-Dev] Re: Technical C/C++ coding question,
Jon Leonard jleonard#divcom,slimy.com, Tue 16 Jun 1998, 23:52 GMT
- [MUD-Dev] Re: Technical C/C++ coding question,
Katrina McClelan kitkat#the486,bradley.edu, Wed 17 Jun 1998, 00:34 GMT
- [MUD-Dev] Re: Technical C/C++ coding question,
Jon Leonard jleonard#divcom,slimy.com, Wed 17 Jun 1998, 01:36 GMT
- [MUD-Dev] Re: Technical C/C++ coding question,
Katrina McClelan kitkat#the486,bradley.edu, Wed 17 Jun 1998, 01:50 GMT
- [MUD-Dev] Re: Technical C/C++ coding question,
Ben Greear greear#cyberhighway,net, Wed 17 Jun 1998, 03:00 GMT
- [MUD-Dev] Re: Technical C/C++ coding question,
Shawn Halpenny malachai#iname,com, Wed 17 Jun 1998, 15:41 GMT
- [MUD-Dev] Nested Coordinate spaces.,
Elis Pomales pomales#caip,rutgers.edu, Wed 10 Jun 1998, 18:17 GMT
[ Other Periods
| Other mailing lists
| Search
]