Debugging memory leaks in Solaris10

I am using SunStudio 11 having C/C++ 5.8 compiler. There is a dbx debugger available as part of Sun Studio 11.. Is there any library to link it and debug is much better way ? Mainly need to remove memory leaks..

new and delete operators are not working always.. malloc and free are not recommended ways to use it since it does not call constructor and destructor for c++..

please suggest why new and delete are failing during runtime !!
As long as you use -g for compiling, the debugging symbols will be included.
Topic archived. No new replies allowed.