Thread: Finding leaks
View Single Post
Re: Finding leaks
Old
  (#4)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: Finding leaks - 21-02-2005

Quote:
I had very nasty bug in my bot recently. It ran fine on release mode, however it crashed in debug mode. It crashed bit randomly and after some specific sequence of commands.
at the first when I was messing around POD-Bot source code I had the first time (I was using MSVC6 at that time), but the problem disappeared if I changed one item in the project options from "Multithread Debug" to "Multithread".

Quote:
electric fence may help you with dynamic memory : http://perens.com/FreeSoftware/
there is also a small utility from Netscape (now Mozilla.org):
http://filebase.bots-united.com/inde...on=file&id=254
  
Reply With Quote