can anyone give me any tips on how to locate memory leaks and other crash
causing bugs like that? i put in the "memory manager" by (i believe) fluid
studios, it compiles fine(i changed one line in the includes in the cpp file
from '#include "stdafx.h"' to '#include <..\MFC\SRC\stdafx.h>') and it spits
out this file when i boot the mud:
--------------------------------------------------------------------------------
memory.log - Memory logging file created on Fri Feb 04 02:27:53 2005
--------------------------------------------------------------------------------
This file contains a log of all memory operations performed during the last
run.
Interrogate this file to track errors or to help track down memory-related
issues. You can do this by tracing the allocations performed by a specific
owner
or by tracking a specific address through a series of allocations and
reallocations.
There is a lot of useful information here which, when used creatively, can
be
extremely helpful.
Note that the following guides are used throughout this file:
[!] - Error
[+] - Allocation
[~] - Reallocation
[-] - Deallocation
[I] - Generic information
[F] - Failure induced for the purpose of stress-testing your application
[D] - Information used for debugging this memory manager
...so, to find all errors in the file, search for "[!]"
--------------------------------------------------------------------------------
but it never adds any info when it crashes or as the game runs and crashes
on a memory leak, which i figure is what the crash is because it happens
when nothing is going on so its not much help so i figure i must be doing
something wrong.
_________________________________________________________________
Take charge with a pop-up guard built on patented Microsoft® SmartScreen
Technology.
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
Start enjoying all the benefits of MSN® Premium right now and get the
first two months FREE*.