5 Replies - 565 Views - Last Post: 23 November 2009 - 09:48 AM Rate Topic: -----

#1 Dentos  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 7
  • Joined: 17-November 09

Effective tool for run-time errors and memory leaks detection

Posted 17 November 2009 - 10:03 AM

Hi!

Created application is working toooo slow, looks like there are a lot of memory leaks, there are a lot of pointers. So, please, can you advice some effective tool for run-time errors and memory leaks detection in Visual Studio C++?
Is This A Good Question/Topic? 0
  • +

Replies To: Effective tool for run-time errors and memory leaks detection

#2 KYA  Icon User is offline

  • g++ jameson.cpp -o beverage
  • member icon

Reputation: 3106
  • View blog
  • Posts: 19,145
  • Joined: 14-September 07

Re: Effective tool for run-time errors and memory leaks detection

Posted 17 November 2009 - 10:17 AM

valgrind comes well recommended.

Alternatively, write your own.

Alternatively, learn how to correctly design and code a system that avoid memory allocation/deallocation pit falls.

Also, simply having a lot of pointers is not indicative of a memory leak.
Was This Post Helpful? 0
  • +
  • -

#3 Dentos  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 7
  • Joined: 17-November 09

Re: Effective tool for run-time errors and memory leaks detection

Posted 23 November 2009 - 05:21 AM

View PostKYA, on 17 Nov, 2009 - 09:17 AM, said:

valgrind comes well recommended.

Alternatively, write your own.

Alternatively, learn how to correctly design and code a system that avoid memory allocation/deallocation pit falls.

Also, simply having a lot of pointers is not indicative of a memory leak.


And how about ***REMOVED SPAM LINK***. One friend advised me it.
Was This Post Helpful? 0
  • +
  • -

#4 KYA  Icon User is offline

  • g++ jameson.cpp -o beverage
  • member icon

Reputation: 3106
  • View blog
  • Posts: 19,145
  • Joined: 14-September 07

Re: Effective tool for run-time errors and memory leaks detection

Posted 23 November 2009 - 06:18 AM

Looks great, except for the part where they want 100 dollars for it.
Was This Post Helpful? 0
  • +
  • -

#5 xtreampb  Icon User is offline

  • D.I.C Regular

Reputation: 14
  • View blog
  • Posts: 337
  • Joined: 20-June 07

Re: Effective tool for run-time errors and memory leaks detection

Posted 23 November 2009 - 09:16 AM

xCode is a free Mac OS compiler and comes with a HUGE suite of debugging and performance tools, the best thing about it is...IT'S FREE!!!
Was This Post Helpful? 0
  • +
  • -

#6 NickDMax  Icon User is offline

  • Can grep dead trees!
  • member icon

Reputation: 2250
  • View blog
  • Posts: 9,245
  • Joined: 18-February 07

Re: Effective tool for run-time errors and memory leaks detection

Posted 23 November 2009 - 09:48 AM

I don't really see why one really needs to buy a 100$ program when there are so many free ones available.

That being said, some of the propriety tools are excellent and much better than most of the free ones. The problem generally is that these tools are really too expensive for the average developer to justify purchasing -- most debugging/profiling etc tasks can be preformed with average developer tools so one only needs these advanced expensive proprietary tools once or twice a year!!! And with that kind of usage they quickly become obsolete (unless you are paying big bucks for maintenance).

So if you have a large organization it makes sense to spend the money and get people trained up in using these advanced proprietary tools -- (these are usually most helpful to QA teams strangely enough) -- and then you allow these teams to work with your developers when they need this level of support...

Of course I am not talking about 100$ products, rather the >2000$ ones...

As an average developer - there is just NO reason to spend your money on this stuff -- its all WAY too expensive to be worth it. Of course... it is your money.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1