A sample program CCtest was created to demonstrate an error common to C++ applications -- the memory leak. The examples in
this article demonstrate the use of the DTrace feature in the Solaris 10 Operating System to diagnose C++ application errors. These examples are also used to compare DTrace with other debugging tools, including Sun Studio 10 software and mdb in the Solaris 10 OS.